check_body_assertions

Function check_body_assertions 

Source
pub fn check_body_assertions(spec: &ProbeSpec, body: &str) -> Result<(), String>
Expand description

Check a response body against the probe’s body assertions. Returns Ok(()) if all assertions pass, or Err(message) on the first failure.