Forum Discussion

imonthercks's avatar
imonthercks
New Contributor
15 years ago

[Resolved] TestCase Property Scope

I am having an issue with properties not being scoped within a TestCase instance while running in a SoapUI Runner in LoadUI. Downloaded the latest build of both SoapUI and LoadUI. In this case I am load testing an ASP.NET WebSite.

In this case I have a DataSource Loop that loops through rows in a CSV file. Inside this loop is an HTTP POST TestRequest that posts values from the DataSource. I also have a PropertyTransfer that transfers the value from the __VIEWSTATE field in the previous response to the request properties for the next post. This works fine when I run a single thread in LoadUI. Once I bump it up to 2 threads, both end up posting the same __VIEWSTATE value, even though the value returned on the first post is different for each thread as confirmed by recording with Fiddler.

It seems to me that these request/response properties should be scoped within a TestCase thread in LoadUI. Is this not the case?

Thanks!

2 Replies

  • Hi!

    Does the TestCase run as intended with multiple threads in a soapUI load test?

    /Henrik
    eviware.com
  • This appears to have been an issue with my TestCase, as it is not happening any more. If I can repeat again, I will test in a SoapUI load test to make sure it occurs in both SoapUI and LoadUI.

    Thanks.