Bonjour,
Je n'arrive pas à trouver d'informations sur le fonctionnement de
JMeter lorsque l'on teste une application web qui utilise un VPN.
La carte réseau étant isolée à l'activation du VPN, j'ai l'impression
qu'il m'est impossible d'effectuer mon tir.
J'ai néanmoins trouvé ceci :
-Djava.rmi.server.hostname=<VPN_IP>
paramètre à passer en ligne de commande à l'invocation de jmeter.
Pour le VPN_IP, j'ai tenté l'adresse IP du VPN et même l'IP de mes
WebServices. Mais j'obtiens toujours l'erreur suivante :
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at
sun.net.www.http.HttpClient.New(Unknown Source)
at
sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
Source)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample
(HTTPSampler.java:490)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:1037)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample
(HTTPSamplerBase.java:1023)
at org.apache.jmeter.threads.JMeterThread.process_sampler
(JMeterThread.java:346)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:
243)
at java.lang.Thread.run(Unknown Source)
et un netstat me donne :
TCP 192.168.xx.yy:1613 192.168.xx.yy:9090 SYN_SENT
Je vais tenter de refaire mon scénario avec cette même méthode
d'invocation, puis de faire mon tir avec cette même méthode.
Si quelqu'un a un pointeur ou une piste, merci par avance.
--
ism