Answered question

Users to perform different actions

For an eCommerce application, we have recorded a scenario of login till payment for 1 user. Now, we have created variables for Users (by passing them through a csv) and for products (csv file).

Now, during the runtime we would require the users to shop different products, all of them should not click on the same product which was done during the recording. How do we acheive this in Neoload where all the users shop different products?

Suraj M.
Suraj M.

Suraj M.

Level
0
15 / 100
points
Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

You can create a variable extractor to extract all the patterns for the products, this could just something like

<prodid>123</prodid>
<prodid>456</prodid>
<prodid>789</prodid>

You could extract all occurances and or just a random one and then use that in the later request

https......order?prodid=${rndProdID}

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful