Hi,
I’m looking to add some convenience to the simulations I’m writing and would like the ability to do something like so…
setUp(…)
.assertions(any.failedRequests.percent.lessThan(5))
I realize that there is “global.failedRequests…” but I would like the failedRequests percentages to be unaffected by other requests. The reason being we’d like to fail a test if any request is over the a certain threshold (in this case, 5%). To date, we’ve been adding each request individually and that’s a huge pain.
I know the DataReader has a list of all scenario names, so I could create selectors based on that, but I can’t figure out how to fit that into the current DSL.
CONFIDENTIAL COMMUNICATION:
This email may contain confidential or legally privileged material, and is for the sole use of the intended recipient. Use or distribution by an unintended recipient is prohibited, and may be a violation of law. If you believe that you received this email in error, please do not read, forward, print or copy this email or any attachments. Please delete the email and all attachments, and inform the sender that you have deleted the email and all attachments. Thank you.