Question

Correlation - ASP.NET application


Hi, 

I have recently started to use Neoload. I am testing an ASP.NET application. I can see from the dynamic correlation that the “_VIEWSTATE” and “_EVENTVALIDATION” values get correlated and work as expected. 

The issue I am having is one some screens there is a dependency on items selected, which changes the request accordingly. For example, when I create multiple items and when it comes to saving the items the request captures the number of items on screen in a couple of fields called: “ctl00$MainContent$txtItemNo” and “ctl00$MainContent$oldItemNo”. I have tried to correlate these values in the request(s) before, but I can’t locate that value anywhere. Therefore, I have to manually change that value based on the number of items created. 

 

The second challenge I am facing is when it comes to selecting this items via a checkbox, the requests has the below options. How can I dynamically allow the script to select x number of items from the screen and update the “SelectColumnSelectCheckBox” variable to automatically increment a new line and for the index to be updated accordingly? 

 Any help/suggestions would be much appreciated. Thank you. 


2 replies

Userlevel 1
Badge +1

Hello, i can’t really comment on the first issue without seeing the project content. But on the second one you may check if the form extractor might help on your use case. Here is a link from the NeoLoad documentation here explaining the usage of that feature.

Hi, thank you for sharing this information. I tried that, but the request failed with the following:

 

Reply