Drill is a load testing tool written in Rust which can also test response codes and headers.
Example:
drill --benchmark foo.yml --stats
concurrency: 1
base: 'https://example.com'
iterations: 1
rampup: 2
plan:
- name: Fetch homepage
request:
url: /
assign: foo
- name: Assert response code
assert:
key: foo.status
value: 200