Unanswered question

how to get account number in separate file

I have bunch of accounts some are good and some are bad. does any one share me the coding how catch good or bad in separate file during my test. I have to filter good accounts for my load test.

Musharraf M.
Musharraf M.

Musharraf M.

Level
0
0 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

You should handle an error during the login phase with a condition like a try...cache or a if...then...else condition.

 

If there's an issue, you can then log the current login through a NeoLoad javascript. You can use the NeoLoad logger or write it on your own file but in both cases it will be per load generator.

You should check that post to log into an external file:

http://answers.neotys.com/questions/19545-how-do-i-save-values-and-write-them-to-an-external-file-during-a-load-test

I hope it will help you.