Contributions
Ask about discarded requests
Hi everyone, I have 5 test steps, and run a load test ok (no errors) with 100 threads. But, when I try with 300 threads, I got many errors (1740 errors, greater than number of connections: 1441), I think it is because of there are many discarded requests (with timeout reason) as the below images. I don't know why and how discarded requestes happen and how to change my test case config for testing properly and no more discarded requests ? Can you help me ? Many thanks !524Views0likes0CommentsRe: SOAP UI doesn't show response content correctly
Thank Nastya_Khovrina , I found out that: when existing pending message in queue then I got that problem. After clearing pending message, it is ok. But, when I use load test (multi thread), I also get this case, the response message is old request message, so my assertation is marked 'error'. In this case, the server hasn't process the error request yet (do not have any record in log table) How can I fix this for testing load multi threads to return correct result ?6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.1KViews0likes0CommentsRe: SOAP UI doesn't show response content correctly
Nastya_Khovrina : Thank you, I can get the response now. But, some time I got the response of previous message. Please see my image, I send the request with id 13545 but I got the response of the message 13544, if I send request a few times, I will get the response of correct message ID. I checked my webservice process (it return correctly), but I don't know why SOAPUI's response is incorrect6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes2CommentsHow to use strategy load test in SOAPUI
Hi all, I am new in SoapUI, now I need to do a load test. I tried to use 2 strategies: Simple and Fixed-rate as below, but I don't know to analysis them clearly. Could you please explain items for me, what strategy should I choose ?. My expect test requirement: - I have a weservice to verify OTP - I have a excel include 100 correct records, include OTP numbers and users - I want test in 100 threads, each thread (1 user) run 1 row of excel Case 1: I use Simple strategy The error request is 120, but actual it is 60 (because soapui list duplicate error message), for example, both is 61st thread: 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]" Case 2: Fixed-rate strategy, with Rate = 5, no error Case 2: Fixed-rate strategy, with Rate = 1, there 13 error Many thanks6 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes2CommentsRe: How to config JMS setting for using the same sent/received queue ?
Nastya_Khovrina : Thank you, As you said: "The response which you get will depend on what you get in the queue at the moment.". How can I config to sure that I get the correct response content (I don't want to receive another message). In soapui, we can use JMSCorrelationID for this ?6 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes3CommentsHow to config JMS setting for using the same sent/received queue ?
Hi, I want to use Soapui to test JMS webservice, and we use the same queue for sent/receive queues like this: jms://SmartOTP_EMS::queue_vn.smartotp_gw.1.0::queue_vn.smartotp_gw.1.0 But there is a problem: The respone window always show request message, and I didn't get the response content correctly. Do you know how to fix this in (we don't want to use different queues for destinations) ?2.4KViews0likes5CommentsSOAP UI doesn't show response content correctly
I am trying to use SOAP UI to test jms request, but the response content (in response panel) is the same the sent request, how can I fix this ? (I also try to add option "Add SoapAction as property" in JMS header, but not successful)Solved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.3KViews0likes4Comments