Priyanka Tripathi
Priyanka Tripathi

Reputation: 1

Mutiple request is generated in single click in Jmeter

I am trying to Script via Jmeter. Earlier in all application on which I have done scripting , only one relevant request was generated, and having that one req in jmeter, retrieved all information on that page to proceed with further requests.

But now in this application, when I am recording using Jmeter, After a single click, multiple request is generated in jmeter scripts (like 3 to 10) and none one alone is having total response when ran via jemter.

  1. What kind of application is this? And what is advantage of doing in this way?
  2. How can I handle this in most effient way?

For Eg on one click below are request generated in HTTP recorder in jmeter.

http://xxxx:9081/vam-ui
http://xxx:9081/vam-rest/common/getAPIAddresses
http://xxx:9081/vam-rest/authenticate
http://xxx:9081/vam-rest/getuserinfo
68 /AASWeb/rest/aas/v1/authentication/authenticateUser
69 /AASWeb/rest/aas/v1/authentication/authenticateUser
70 /AASWeb/rest/aas/v1/authentication/getUserProfile
71 /AASWeb/rest/aas/v1/authentication/getUserProfile
73 /AASWeb/rest/aas/v1/authorization/getUserUIAuthorization
74 /AASWeb/rest/aas/v1/authorization/getUserUIAuthorization
75 /AccountWeb/rest/account/v1/operation/getSystemDate
76 /CustomerWeb/rest/customer/v1/customer/searchRootCustomers
77 /AccountWeb/rest/account/v1/account/searchAccountsService
80 /AccountWeb/rest/account/v1/operation/getSystemDate
78 /uiframework-web/api/rest/dashboard/v1/listAvailableDashboards
79 /uiframework-web/api/rest/dashboard/v1/getUserRecentSearches
82 /CustomerWeb/rest/customer/v1/customer/searchRootCustomers
83 /uiframework-web/api/rest/dashboard/v1/listAvailableDashboards
84 /uiframework-web/api/rest/dashboard/v1/getUserRecentSearches
85 /uiframework-web/api/rest/dashboard/v1/listAvailableDashboards
86 /uiframework-web/api/rest/dashboard/v1/getUserRecentSearches
88 /uiframework-web/api/rest/dashboard/v1/listAvailableDashboards
89 /uiframework-web/api/rest/dashboard/v1/getUserRecentSearches

Upvotes: 0

Views: 63

Answers (1)

Dmitri T
Dmitri T

Reputation: 168147

The correct way of replaying your scenario would be:

  • Transaction Controller - to measure the cumulative execution time
    • HTTP Request sampler (main call)
    • Parallel Controller - to execute all "nested" calls simultaneously
      • HTTP Request 1
      • HTTP Request 2
      • HTTP Request 3
      • ...

Upvotes: 1

Related Questions