Am 21.04.21 um 09:12 schrieb Hemraj Upadhyay: > I have recorded a script which involves Login, navigate to some menu, and > then submit a form[I am also logging out, but that is optional] > > I can see result in tree for recorded script.[in which token related things > have failed which I can solve by parameterization and regex study, I guess] > > The main problem is the result I can see in the recorder tree got several > requests. > > But when I run the same recorded plan[with 1 user only], then I can see > some requests in the result tree, and then the script gets stuck. I have to > force stop it. > > As per googling result even after mentioning I am testing without heavy > load, I am getting results for 'Best Practices' of jmeter which is not > helping. > > My Assumption is the problem is when I change the menu[so in the background > api calls might be changing, and my script seems not handling that > automatically. > > --- > So I need a solution on how to handle menu change in script. > > OR > > Any best practices or direct tutorial for combination of scenarios recorded > and made dynamic.[which will be my next task after solving this problem]
Without more details about the used test plan, I have two tips. First, make sure, that you set timeout values on our requests, otherwise the plan might not stop. Second, if you have a stuck test, you can try to get a thread dump. That can be either done through the GUI ( tools -> create a thread dump) or by the CLI via normal Java means. Felix > > Thanks in advance >
OpenPGP_signature
Description: OpenPGP digital signature