Cannot setup remote console IP
Javier Farias <[email protected]> Mon, 30 Jan 2017 14:35:44 -0300
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAA8XdehW3wV8Nd9yPOur+DiD331yc_O9NqwVaEYuvRXMSJYbYQ@mail.gmail.com> |
--===============8413895447934871369== Content-Type: multipart/alternative; boundary=001a113cdfe8c7b1c30547533efa --001a113cdfe8c7b1c30547533efa Content-Type: text/plain; charset=UTF-8 I cannot figure out how I can tell my agent where the console is running. The console and the agent are in two separate machines. The agent runs on Windows. Its grinder.properties file is: grinder.script=C:\\Users\\admin\\Desktop\\grinder-3.11\\scripts\\grinder.py grinder.consoleHost=192.168.0.109 grinder.consolePort=6372 grinder.processIncrement=500 grinder.threads=500 grinder.runs=0 grinder.processIncrementInterval=1000 I launch the agent process with: set GRINDERPATH=C:\Users\admin\Desktop\grinder-3.11 set GRINDERPROPERTIES=grinder.properties set CLASSPATH=%GRINDERPATH%\lib\grinder.jar;%CLASSPATH% set JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_121 PATH=%JAVA_HOME%\bin;%PATH% java -classpath %CLASSPATH% net.grinder.Grinder %GRINDERPROPERTIES% The agent output while starting is: 2017-01-30 13:17:46,787 INFO agent: The Grinder 3.11 2017-01-30 13:17:47,857 WARN agent: Failed to connect to 'localhost/ 127.0.0.1:6372', proceeding without the console; set grinder.useConsole=false to disable this warning. 2017-01-30 13:17:47,873 INFO agent: Worker process command line: java '-javaagent:C:\Users\admin\Desktop\grinder-3.11\lib\grinder-dcr-agent-3.11.jar' -classpath 'C:\Users\admin\Desktop\grinder-3.11\lib\grinder.jar' net.grinder.engine.process.WorkerProcessEntryPoint 2017-01-30 13:17:48,033 INFO agent: worker hp-ref-1-0 started Why is it trying to connect to 127.0.0.1, if I'm changin the default console IP in the properties file? Thank you --001a113cdfe8c7b1c30547533efa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div style=3D"font-size:12.8px">I cannot figure out how I = can tell my agent where the console is running.</div><div style=3D"font-siz= e:12.8px"><br></div><div style=3D"font-size:12.8px">The console and the age= nt are in two separate machines. The agent runs on Windows. Its grinder.pro= perties file is:</div><div style=3D"font-size:12.8px"><br></div><div style= =3D"font-size:12.8px">grinder.script=3DC:\\Users\\<wbr>admin\\Desktop\\grin= der-3.11\\<wbr>scripts\\grinder.py</div><div style=3D"font-size:12.8px">gri= nder.consoleHost=3D192.168.0.<wbr>109</div><div style=3D"font-size:12.8px">= grinder.consolePort=3D6372</div><div style=3D"font-size:12.8px">grinder.pro= cessIncrement=3D500</div><div style=3D"font-size:12.8px">grinder.threads=3D= 500</div><div style=3D"font-size:12.8px">grinder.runs=3D0</div><div style= =3D"font-size:12.8px">grinder.<wbr>processIncrementInterval=3D1000</div><di= v style=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px">I la= unch the agent process with:</div><div style=3D"font-size:12.8px"><br></div= ><div style=3D"font-size:12.8px">set GRINDERPATH=3DC:\Users\admin\<wbr>Desk= top\grinder-3.11</div><div style=3D"font-size:12.8px">set GRINDERPROPERTIES= =3Dgrinder.<wbr>properties</div><div style=3D"font-size:12.8px">set CLASSPA= TH=3D%GRINDERPATH%\lib\<wbr>grinder.jar;%CLASSPATH%</div><div style=3D"font= -size:12.8px">set JAVA_HOME=3DC:\Program Files (x86)\Java\jre1.8.0_121</div= ><div style=3D"font-size:12.8px">PATH=3D%JAVA_HOME%\bin;%PATH%</div><div st= yle=3D"font-size:12.8px">java -classpath %CLASSPATH% net.grinder.Grinder %G= RINDERPROPERTIES%</div><div style=3D"font-size:12.8px"><br></div><div style= =3D"font-size:12.8px">The agent output while starting is:</div><div style= =3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px">2017-01-30 = 13:17:46,787 INFO =C2=A0agent: The Grinder 3.11</div><div style=3D"font-siz= e:12.8px">2017-01-30 13:17:47,857 WARN =C2=A0agent: Failed to connect to &#= 39;localhost/<a href=3D"http://127.0.0.1:6372/" target=3D"_blank">127.0.0.1= :6372</a>', proceeding without the console; set grinder.useConsole=3Dfa= lse to disable this warning.</div><div style=3D"font-size:12.8px">2017-01-3= 0 13:17:47,873 INFO =C2=A0agent: Worker process command line: java '-ja= vaagent:C:\Users\admin\<wbr>Desktop\grinder-3.11\lib\<wbr>grinder-dcr-agent= -3.11.jar' -classpath 'C:\Users\admin\Desktop\<wbr>grinder-3.11\lib= \grinder.jar' net.grinder.engine.process.<wbr>WorkerProcessEntryPoint</= div><div style=3D"font-size:12.8px">2017-01-30 13:17:48,033 INFO =C2=A0agen= t: worker hp-ref-1-0 started</div><div style=3D"font-size:12.8px"><br></div= ><div style=3D"font-size:12.8px">Why is it trying to connect to 127.0.0.1, = if I'm changin the default console IP in the properties file?</div><div= style=3D"font-size:12.8px"><br></div><div style=3D"font-size:12.8px">Thank= you</div> </div> --001a113cdfe8c7b1c30547533efa-- --===============8413895447934871369== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot --===============8413895447934871369== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use --===============8413895447934871369==--