Forum Discussion

PerfTestMike's avatar
PerfTestMike
Contributor
15 years ago

Are all test steps defined in SoapUi carried over to LoadUI?

Hello all,

I was wondering if anyone could help me with this.

Basically, I am using SoapUI Pro 4.0.1 to put my tests together. I am using a CSV file as my datasource, making a request with one value, then after a successful iteration, using datasource loop to go to the next record.

If I export the test to a LoadUI project, will the datasource loop also be included during the testing process within LoadUI? I'm relatively new to the tool, so I'd just like to know if the test defined in SoapUI will be reflected in LoadUI.

Many thanks,

Mike

16 Replies

  • AndyHughes's avatar
    AndyHughes
    Regular Contributor
    You can use property transfers to get the actual results of each loadui request. Set the property transfer at test case level and then populate the property with the response string. Then in the SOAPUI runner in LOADUI, export the test test case properties.
  • Thanks for the tip! Can you provide some screenshots and numbered instructions regarding this? I'm a tad lost, but I understand the idea
  • AndyHughes's avatar
    AndyHughes
    Regular Contributor
    As requested...in SoapUI




    ...and in LoadUI




    It then comes out on the table logs attached to the SoapUI runner.
  • Hi Mike,

    I used the script from your post that reads in the values from a CSV and iterates to a new record after every run, which worked fine in SOAPUI 4.0.1. But with LoadUI 1.5.0 always the last request is being read, i am sure i missing something here. Can you please suggest if i need to set any other settings before creating the same project in LoadUI.

    I am using below components

    1) Fixed rate generator
    2) soapUI Runner.

    Please find the attachments for the screenshots. It also includes the test data format in the CSV file

    Thank U.
  • Hello, thanks for trying this out.

    I will have a look into this, as I didn't do anything more with it as we opted to go for SoapUI pro and use databanking. It is probably a minor script change that will need to be modified so that the script iterates through each row. I wish Java could be used instead of Groovy because I had never even touch Groovy before using this tool

    I'll get back to you on this, though
  • OK, so update time!

    As an alternative to exporting your test from SoapUI to LoadUI, what you can do is:

    1) Create your test in SoapUI;

    2) recreate it in LoadUI manually;

    3) save script in C:\Program Files\Eviware\LoadUI\Script Components;

    4) manually recreate your test using the attached CSV reader (created for standard CSV use which takes the first row as the field name and the following rows underneathe as the corresponding values);

    4a) Place this element between the load generator and the soapUI runner;

    The advantage of this is that it removes the user from any test-exporting related issues (as I've found my tests have corrupted after exporting from SoapUI to LoadUI). It should mean you can create a test without having to mess about with setting up data in soapUI