On Sat, Mar 7, 2020, at 11:49, TommyG wrote:
> 
> fail_if_body_not_matches_regexp:
> - .*MSA|*AE*|123456$

This matches anything containing "MSA" or "AE" or "123456", which is why it's 
matching the AA response also.

> 
> fail_if_body_not_matches_regexp:
> - .*MSA\|AE\|123456$

My first suspicion would be that CR is used by most systems as a segment 
terminator, so there's a CR at the end of the MSA segment. Either remove the $ 
or add a ".*" before it?


(Also it's a tiny thing, but in your headers the Content-Type: should be 
x-application/hl7-v2+er7 :) 

hth,

-- 
Harald
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/218718a7-33ad-497a-b98a-353688299a1a%40www.fastmail.com.

Reply via email to