Forum Discussion

ntman4real's avatar
ntman4real
New Contributor
16 years ago

WS Load Test...I want bulk requests to be derived from a folder...

Hello all,

First off, I just wanted to say that I am not a developer by any stretch of the imagination.  I am a sys admin who is responsible for load testing for this specific project.

Basicall What I want to happen is for SOAPUI to send multiple REQUESTS to my endpoint.  I can perform a single request, multiple times with no problem.  But what I want to happen is, instead of a static single request being sent many times, I would like multiple requests to be pulled from a local directory(they are in XML format) dynamically, one time each.  Is this possible?

Also, please let me know if I am too vague with my explanation.  Definitely a newbie with this kind of stuff.

P.S.  I have attached the WSDL I am using, if it helps any.  Thanks!

3 Replies

  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    This would be trivial with the Pro version (use DataSource /DataSource Loop to read the files), but otherwise I think you would have to write some Groovy code to read the files and change the request in a loop.
  • ntman4real's avatar
    ntman4real
    New Contributor
    Thank you a ton for the reply but I am still unclear as how to approach this.

    So I setup a data source or a folder.  Then I setup a "Datasource loop" and specify that data source step as the "Data Source Step", but then what do I set as the request?  I would like that folder full of requests(That I setup to be the data source) to be the actual requests being sent.  And then where would I configure the endpoint as well?
  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    I assumed that you had multiple requests for the same endpoint.

    Ignoring the endpoint, if your datasource is called DataSource and has a property 'request' where the file contents would be placed, you could put this in the request step:

    [tt:386otv8o]${DataSource#request}[/tt:386otv8o]