com.lazerycode.jmeter.configuration
Class ProxyConfiguration

java.lang.Object
  extended by com.lazerycode.jmeter.configuration.ProxyConfiguration

public class ProxyConfiguration
extends Object

Is used for configuration of all proxy related configuration.

Configuration in pom.xml:

 <proxyConfig>
     <host></host>
     <port></port>
     <username></username>
     <password></password>
     <hostExclusions></hostExclusions>
 </proxyConfig>
 
 

Author:
Arne Franken

Constructor Summary
ProxyConfiguration()
           
 
Method Summary
 String getHost()
           
 String getHostExclusions()
           
 String getPassword()
           
 Integer getPort()
           
 String getUsername()
           
 void setHost(String host)
          HTTP proxy host name
 void setHostExclusions(String hostExclusions)
          Regex of hosts that will not be proxied
 void setPassword(String password)
          HTTP proxy user password
 void setPort(Integer port)
          HTTP proxy port Default: 80
 void setUsername(String username)
          HTTP proxy username
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProxyConfiguration

public ProxyConfiguration()
Method Detail

getHostExclusions

public String getHostExclusions()
Returns:
Regex of hosts that will not be proxied

setHostExclusions

public void setHostExclusions(String hostExclusions)
Regex of hosts that will not be proxied

Parameters:
hostExclusions -

getHost

public String getHost()
Returns:
HTTP proxy host name

setHost

public void setHost(String host)
HTTP proxy host name

Parameters:
host -

getPort

public Integer getPort()
Returns:
HTTP proxy port

setPort

public void setPort(Integer port)
HTTP proxy port Default: 80

Parameters:
port -

getUsername

public String getUsername()
Returns:
HTTP proxy username

setUsername

public void setUsername(String username)
HTTP proxy username

Parameters:
username -

getPassword

public String getPassword()
Returns:
HTTP proxy user password

setPassword

public void setPassword(String password)
HTTP proxy user password

Parameters:
password -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.