Blazemeter / RTEPlugin

JMeter RTE (TN5250, TN3270 & VT420) plugin for testing Mainframe applications
Apache License 2.0
19 stars 11 forks source link

The "Same user on each iteration" option of the thread group doesnt work for the RTE plugin #34

Open RichB-2024 opened 8 months ago

RichB-2024 commented 8 months ago

The "Same user on each iteration" option of the thread group doesnt work for the RTE plugin. Each iteration connects at the start and disconnects at the end, meaning it is seen as a new terminal. The mainframe workflow I am trying to replicate involves users logging on, working for a few hours (running various transactions) and then logging off. With your plugin my pretend users have to log on, run a transaction, log off, repeat. I have made sure that "Same user on each iteration" is true and that none of my transactions have "connect" or "disconnect" selected. I have tried setting "RTEConnectionConfig.reuseConnections=true" in the jmeter.properties file too (and restarting jmeter). I am using jmeter 5.6.2 and RTE plugin 3.2.2

Is there a way I can force it to not disconnect at the end of every iteration?

RichB-2024 commented 8 months ago

UPDATE: this is actually a documentation issue.. README.md states "Connections are automatically closed (unless Jmeter property RTEConnectionConfig.reuseConnections=true is specified in jmeter.properties) at the end of each thread iteration" But in actual fact the property you need to set in order to reuse connections is RTESampler.reuseConnections

Also wouldnt it be better if it honored the value of the "Same user on each iteration" checkbox on the Thread Group panel?