You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Matt & Lek <st...@yahoo.com.INVALID> on 2021/03/19 17:50:23 UTC

Setting Properties on the Remote Servers

Hi,
On this page 
Apache JMeter - User's Manual: Remote (Distributed) Testing


| 
| 
| 
|  |  |

 |

 |
| 
|  | 
Apache JMeter - User's Manual: Remote (Distributed) ...


 |

 |

 |


It says that you can set properties on the remote server via the -G flag. Does it work for all properties? If not, what works? 

I am trying to set this property includecontroller.prefix and I can see on the server logs that it is setting it, but it doesn't use the new setting later when the Include Controller is trying to locate an included source file. This section of the log is relevant
2021-03-19 10:32:22,915 INFO o.a.j.s.FileServer: Set new base='.'2021-03-19 10:32:22,920 INFO o.a.j.e.RemoteJMeterEngineImpl: Cleaning previously set properties: {includecontroller.prefix=/data/jmeter-tests/test/setA/}2021-03-19 10:32:22,920 INFO o.a.j.e.StandardJMeterEngine: Applying properties {includecontroller.prefix=/data/jmeter-tests/test/setA/}2021-03-19 10:32:22,920 INFO o.a.j.e.RemoteJMeterEngineImpl: Running test2021-03-19 10:32:22,921 INFO o.a.j.e.StandardJMeterEngine: Running the test!2021-03-19 10:32:22,921 INFO o.a.j.s.SampleEvent: List of sample_variables: []2021-03-19 10:32:23,042 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group2021-03-19 10:32:23,042 INFO o.a.j.e.StandardJMeterEngine: Starting 1 threads for group Thread Group.2021-03-19 10:32:23,042 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error2021-03-19 10:32:23,042 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=1 ramp-up=1 delayedStart=false2021-03-19 10:32:23,042 INFO o.a.j.c.IncludeController: loadIncludedElements -- try to load included module: /data/jmeter-tests/src/sew/a.jmx2021-03-19 10:32:23,042 INFO o.a.j.s.SaveService: Loading file: /data/jmeter-tests/src/sew/a.jmx2021-03-19 10:32:23,042 ERROR o.a.j.u.JMeterUtils: File "/data/jmeter-tests/src/sew/a.jmx" not found for Include Controller "Include A" - see log for details
The folder /data/jmeter-tests/src/sew is set in jmeter.properties on the server.

I'm using JMeter 5.4.1 and I can share the test codes and scripts if required. This is how I am using the controller.



thanks  Matt