svenkatreddy / puppeteer-loadtest

load test puppeteer (Headless Chrome API) script using node
Apache License 2.0
119 stars 21 forks source link

Any way to pass an incrementing variable to each instance of puppeteer? #79

Closed Dylan-PlasterAAA closed 2 years ago

Dylan-PlasterAAA commented 2 years ago

Trying to load test our app, which has a login and disallows multiple instances of the same user being logged in concurrently. Is there any way to pass an incrementing variable to each instance of puppeteer that runs? That could be used to specify a different login for each puppeteer instance trying to login.

svenkatreddy commented 2 years ago

Hi, currently, there is no direct communication between puppeteer-loadtest meta info with actual program. However, in your case, it can be addressed independently by using either of the following

Dylan-PlasterAAA commented 2 years ago

I understand, thanks for your help in pointing me in the right direction. I'll close this issue, thanks for the response