urlopen error Tunnel connection failed: 407 Proxy Authorization Required

1,286 views
Skip to first unread message

surendra matta

unread,
Aug 4, 2015, 3:03:35 PM8/4/15
to codename-taurus
HI 

When i am try to run the test in my local machine , i am getting below error. 

URLError: <urlopen error Tunnel connection failed: 407 Proxy Authorization Required>

 

[2015-08-04 14:58:35,233 ERROR root] Exception: <urlopen error Tunnel connection failed: 407 Proxy Authorization Required>


But if i try continuously for 3 to 4 times then it is working , please let me know whether i have to provide any proxy setting in PYTHON conf files .


FYI.. i already provide proxy authenaction in YML file as well as in JMeter script.


I am attaching the BZt log file for more info.


Regards,

Venkat

bzt.log

Andrey Pokhilko

unread,
Aug 5, 2015, 3:58:54 AM8/5/15
to codenam...@googlegroups.com
Hi,

If you have specified proxy settings right, there should be a message in the log "Using proxy settings". There is no such message in the logs you shown. Maybe you have placed proxy settings into wrong section of the config. Post here effective.yml file, please.

Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeterthe logs
--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/f72f8878-c9c3-4f4c-b678-4a98b2c36689%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

surendra matta

unread,
Aug 5, 2015, 9:57:35 AM8/5/15
to codename-taurus
Hi Andrey,

Please find the YML file below

execution:
 # distributed:
  # - 10.240.240.57
  # - 10.20.101.23
  # - 10.20.100.25
  # - 10.240.243.9
  # - 10.20.100.80
  # - 10.240.243.220
 concurrency: 750
 ramp-up: 1500s
 hold-for: 30m
 #iterations: 30

 scenario:
   script: D:\apache-jmeter-2.13\bin\My_Sherwin_tauras_1.jmx
   data-sources:
     - path: MySherwin_Users.csv
       quoted: true

modules:
  jmeter:
    system-properties:
      http.proxyHost: ********************************
      http.proxyPort: 80
      username: ******************
      password: **********

modules:
 blazemeter:
  token: ****************************

reporting:
  - module: blazemeter
    test: Mysherwin@1200 Users
    summary: true  
    percentiles: true  
    failed-labels: false
    test-duration: true

Please let me know whether i have to add any other settings related to proxy.

Regards,
Venkat

Andrey Pokhilko

unread,
Aug 5, 2015, 11:23:38 AM8/5/15
to codenam...@googlegroups.com
So you have specified proxy settings for JMeter but not for Taurus itself. Please refer to this doc piece: http://gettaurus.org/docs/ConfigSyntax/#Top-Level-Settings

Specify proxy settings under the "settings" section and try again, this should help. Use log message I mentioned to tell if the setting had effect.


Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeter

surendra matta

unread,
Aug 6, 2015, 2:39:09 PM8/6/15
to codename-taurus
Hi Andrey,

Still i am getting same errors and i updated my YML file

settings:
  aggregator: consolidator
  default-executor: jmeter
  check-interval: 1
  proxy:  # custom proxy settings
     username: vsm754
     password: ********

Please suggest me, what is the max thread we can use in one machien if we have 16GB memory in that i allocated 6GB to JVM

And i am attaching BZT log file also 

Regards,
Venkat
bzt.log
jmeter.log

Andrey Pokhilko

unread,
Aug 6, 2015, 3:38:14 PM8/6/15
to codenam...@googlegroups.com
Your logs looks fine. Seems your test works now.

What is the problem?


Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeter
Reply all
Reply to author
Forward
0 new messages