我是SoapUI的新手,现在我需要进行负载测试。我尝试使用以下两种策略:简单和固定汇率,如下所示,,但我不知道要对其进行清晰的分析。您能为我解释一下项目,我应该选择哪种策略?
我期望的测试要求:
我有一个Weservice来验证OTP
我有一个excel,它包含100条正确的记录,包括OTP号和用户
我想在100个线程中进行测试,每个线程(1个用户)运行1行excel
案例1:我使用简单策略
错误请求为120,但实际为60(因为soapui列表重复错误消息),例如,两者都是第61个线程:
2018-12-27 13:27:00,Step Status,Verify - Request 1,"TestStep [Verify - Request 1] result status is FAILED; [[XPath Match] XPathContains assertion failed for path [${Verify - Request 1#Response#declare namespace ns='http://www.bidv.com/entity/vn/otp/smartotp_gw/verify/1.0'; declare namespace ns1='http://www.bidv.com/common/envelope/commonheader/1.0'; //ns:VerifyRes[1]/ns1:ResponseStatus[1]/ns1:Status[1]}] : RuntimeException:net.sf.saxon.trans.XPathException: XPath syntax error at char 0 in {}:
Unexpected token "<eof>" in path expression] [threadIndex=61]"
2018-12-27 13:27:00,Step Status,Verify - Request 1,"TestStep [Verify - Request 1] result status is FAILED; [[XPath Match] XPathContains assertion failed for path [${Verify - Request 1#Response#declare namespace ns='http://www.bidv.com/entity/vn/otp/smartotp_gw/verify/1.0'; declare namespace ns1='http://www.bidv.com/common/envelope/commonheader/1.0'; //ns:VerifyRes[1]/ns1:ResponseStatus[1]/ns1:Status[1]}] : RuntimeException:net.sf.saxon.trans.XPathException: XPath syntax error at char 0 in {}:
Unexpected token "<eof>" in path expression] [threadIndex=61]"