imonthercks
15 years agoNew Contributor
[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!
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!