Forum Discussion

larryx's avatar
larryx
Frequent Contributor
12 years ago

[R] JMS load test scenario-xml request & plain text response

Hello,
I need to implement below JMS load test scenario.
1 Drop request xml messages into sending/inBound Queue
2 Browse/read response messages from Receiving/outBound Queue

My SoapUI Test case includes
- SoapUI default test step does #1
- Groovy script test step does #2

Now my question is how Soapui measure the response time in this load test scenario bcoz request/response are different test steps? Please Help Me!
Thanks,
-Larry

4 Replies

  • Hello Larry,

    To clarify what you are asking, are you asking that since you are using Groovy to read the outbound queue instead of a request test step that you would like to know how response time is going to be measured? If so, it may be measured by the time it takes for your groovy script to complete, but we need to clarify that this is what you are asking.



    Regards,
    Marcus
    SmartBear Support
  • larryx's avatar
    larryx
    Frequent Contributor
    Marcus,

    Yes, that is what I guess too. Since Soap XML message request is not sent by groovy script, will the response time measured by groovy (read respMsg from receiving Queue) be accurate?
    Note: RespTime = Timestamp of dropping xml msg in sendingQ - Timestamp of reading text msg in receivingQ
    Thanks,
    Larry
  • Hi,

    RespTime = Timestamp of dropping xml msg in sendingQ - Timestamp of reading text msg in receivingQ


    If that is the only thing you are doing in the script then yes. If you are doing something else before and after in the script then the response time will take that into account.


    Regards,
    Marcus
    SmartBear Support
  • larryx's avatar
    larryx
    Frequent Contributor
    Thanks Marcus. You can mark this thread "resolved".
    -Larry