简体   繁体   中英

Load testing via JMeter for asp.net web service so how to handle vivewstate,viewstate1,viewstate2 and eventvalidation things for end to end flow

steps followed by me:

  1. create Thread Group->http request default
  2. added recording controller in thread group
  3. added view result tree

After that- WorkBench-

  1. HTTP proxy server
  2. Added listener-View result tree

I recorded the script but I want to know how I correlate the all pages or flow so I got actual result Like from

  1. login(get)-Login(post) then
  2. Calculte something in another page
  3. then click on continue button and we got new page
  4. and fill the details and again click on continue button the some thing save in database
  5. After that redirect to payment gateway and after that we got final result

So please let me explain ho to do load testing for this flow

I believe that you need to go trough the following articles:

The whole idea is

  1. To make first HTTP request to the very first page
  2. Extract dynamic parameters and save them into JMeter Variables via one of the following PostProcessors:
  3. Populate second HTTP Request using JMeter Variables from step 2
  4. If you need to go further repeat steps 1-3 for 2nd request

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM