Contributions
Complex testcase + Load Tests
Description: I made customized test -at the beginning I read some properties from text file and based on this information I add/remove some assertion. It works well in single test. However, now I need to run some load tests and this solution needs to be rebuild. The test case is shared among all threads and the change made by one thread is overwritten by another one. (I guess this is intended feature.) Question: Is there any way to "change the test case" just for the running thread? Some isolated instance, shadow copy... Possible solution: The only way I see, is to create "fixed assertion" and to transform textfile variables into local ones (context.*) and use them in assertion or script assertion. Thank you for any comments.1.4KViews0likes0CommentsLoad test: Valid HTTP Status Codes - Property is empty
soapUI 4.5.2, Win8 64b For each RestTestRequestStep I set "Valid HTTP Status Codes" to "200" by groovy teststep. I disabled the groovy step. Single test case runs ok. Property Codes are set to "200" in every step. When I run Load test I get StatusCode 200. Hovever, the assertion fails with Response status code:200 is not in acceptable list of status codes. By logging I found: Codes property is empty. But only when I run the load test! I tried to setup other assertions (script, sla,...) without other changes - and they worked in both single and load version. The only problem I have is with "Status Codes".11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes0Comments