Answered question

File variable generation with Mockaroo ?

Hello,

I use a file variable whose CSV source is generated with https://mockaroo.com. I also make a BAT file that download the CSV in the NeoLoad project, right on the variable location. When I need a new dataset, I just launch the BAT file and the variable is refreshed.
My goal is to automate this operation. I tried setting a command prompt action in the user path initialization that use my variable. This way, the variable will be refreshed on each scenario start-up.
The problem with this method is that the file cannot be modified because it's used by NeoLoad process. Is there another way to accomplish this task ?

Thank in advance for your help.

Thomas H.
Thomas H.

Thomas H.

Level
0
15 / 100
points

You need to update your variable before NeoLoad is started and not when you start your test.

You can run your NeoLoad through command line right after refreshing your variable file.

You can have more information about command line options from the NeoLoad documentation here

Did you find this useful ?

No (0)

Yes (1)

100%

100% of users found this answer useful

Other answers

Thomas H.
Thomas H.

Thomas H.

Level
0
15 / 100
points

I hoped there was a solution that doesn't require a restart of NeoLoad, but if this is the only option, that's fine.
Thank you @Nouredine