Forum Discussion

suamy88's avatar
suamy88
Occasional Contributor
13 years ago

SoapUI Integration with LoadUI

Hello! I am new working with LoadUI, I've watched the tutorials videos and I trying to make the same sample of Integrating SoapUI with LoadUI, and It's not working for me and I wondering why. The thing is every SoapUI Runner works well individually, but when I try to connect them each other, it's just works the first one "Login", I mean it doesn't do nothing with the others SoapUI Runner in my case will be "doTransaction" and "logout", Delay and Splitter doesn't do nothing either.
I don't know if you can understand what my problem is, if you don't I'll try to explain better. Please I need help as soon as possible.

6 Replies

  • Can you give a screenshot of your test after 10 seconds of running?
  • suamy88's avatar
    suamy88
    Occasional Contributor
    Good Morning! Thanks for answer. Here is my problem, now my test is running because I changed LoadUI Pro and now I am using just LoadUI 2.6.1, but I am having a lot of failed, I think the problem is that I am generating many Login, I would like to know how can I generate just one login and make many transactions in my case. Below is attached an image and maybe can help you to undertand my problem.
  • suamy88 wrote:
    I think the problem is that I am generating many Login, I would like to know how can I generate just one login and make many transactions in my case.

    You're currently generating new users with a mean rate of 2 users per second (as shown in your Random 1 component) -- are you saying that this is not what you want?

    2 requests per second should be fine for most servers. However, the loop that you're doing from doTransaction back to the Splitter component means that as soon as a user completes its request in doTransaction, it will, 50% of the times, immediately go back to doTransaction again. So, you might want to route the loopback wire to the delay component instead.
  • suamy88's avatar
    suamy88
    Occasional Contributor
    Hi again! Thanks a lot for helping me, I really appreciate your time. My question today is, how can I know the reason of my scripts to fail? Because when I get fails, I don't know if it is because I am doing something wrong on LoadUI or my scripts on SoapUI are wrong, I am running my scripts on SoapUI and everything seems perfect but in LoadUI nothing is working. As I said at the beginning I am super new with this tool, and apologize if I am asking dumb questions.
    Below it's attached an image with my problem now, I am trying to generate a lot of transactions and badges and it's working but when I connect doTransaction with delay and then Logout (the same in the other side) boommm nothing works. I mean I got a lot of failed. Please if you know when can I get a lot of information about working with Load and SoapUI, I'll appreciate because I don't want to post every problem that I get. (I've already see the tutorial videos and I read the information in your website but nothing there is helping me, maybe I didn't look for well) Thanks in advance
  • First of all, the SoapUI Runner creates 2 log files you can have a look at:

    ~/.loadui/logs/soapui.log
    ~/.loadui/logs/soapui-errors.log

    Secondly, you might be able to see some errors by attaching a TableLog component (the last one on the left-hand panel) to the output of your components.

    Finally, you might want to turn off the SoapUI Runners once you log out, otherwise they will keep running (ie. trying to run your transactions) after logging out! To do this, just plug a Scheduler component to the left-input of you runner and maybe limit your test by time so it will stop after that.

    Renato
  • suamy88's avatar
    suamy88
    Occasional Contributor
    Hello again! I would like some help using Loop Component. For example, I want to login, then performing 100 transactions, and then logging out.
    I am gonna be generating "login" every minute, and with that login I want to do 100 transactions and then logout, apparently I am doing something wrong because my LoadUI it's not doing that at all. Thanks in advance for all the help.