Java Doc for ProxyControl.java in  » Testing » jakarta-jmeter » org » apache » jmeter » protocol » http » proxy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » jakarta jmeter » org.apache.jmeter.protocol.http.proxy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.jmeter.control.GenericController
   org.apache.jmeter.protocol.http.proxy.ProxyControl

ProxyControl
public class ProxyControl extends GenericController (Code)
Class handles storing of generated samples, etc


Field Summary
final public static  intDEFAULT_PORT
    
final public static  StringDEFAULT_PORT_S
    
final public static  intGROUPING_ADD_SEPARATORS
    
final public static  intGROUPING_IN_CONTROLLERS
    
final public static  intGROUPING_NO_GROUPS
    
final public static  intGROUPING_STORE_FIRST_ONLY
    
final public static  intSAMPLER_TYPE_HTTP_SAMPLER
    
final public static  intSAMPLER_TYPE_HTTP_SAMPLER2
    

Constructor Summary
public  ProxyControl()
    

Method Summary
public  voidaddConfigElement(ConfigElement config)
    
public  voidaddExcludedPattern(String pattern)
    
public  voidaddIncludedPattern(String pattern)
    
public  booleancanRemove()
    
public  voidclearExcludedPatterns()
    
public  voidclearIncludedPatterns()
    
public synchronized  voiddeliverSampler(HTTPSamplerBase sampler, TestElement[] subConfigs, SampleResult result)
     Receives the recorded sampler from the proxy server for placing in the test tree.
 booleanfilterContentType(SampleResult result)
     Filter the response based on the content type.
 booleanfilterUrl(HTTPSamplerBase sampler)
    
public  booleangetAssertions()
    
public  booleangetCaptureHttpHeaders()
    
public  StringgetClassLabel()
    
public  StringgetContentTypeExclude()
    
public  StringgetContentTypeInclude()
    
public  intgetDefaultPort()
    
public  CollectionPropertygetExcludePatterns()
    
public  intgetGroupingMode()
    
public  ClassgetGuiClass()
    
public  booleangetHttpsSpoof()
    
public  StringgetHttpsSpoofMatch()
    
public  CollectionPropertygetIncludePatterns()
    
public  intgetPort()
    
public  StringgetPortString()
    
public  booleangetRegexMatch()
    
public  booleangetSamplerDownloadImages()
    
public  booleangetSamplerFollowRedirects()
    
public  booleangetSamplerRedirectAutomatically()
    
public  intgetSamplerTypeName()
    
public  JMeterTreeNodegetTarget()
    
public  booleangetUseKeepalive()
    
public  voidsetAssertions(boolean b)
    
public  voidsetCaptureHttpHeaders(boolean capture)
    
public  voidsetContentTypeExclude(String contentTypeExclude)
    
public  voidsetContentTypeInclude(String contentTypeInclude)
    
public  voidsetExcludeList(Collection list)
    
public  voidsetGroupingMode(int grouping)
    
public  voidsetHttpsSpoof(boolean b)
    
public  voidsetHttpsSpoofMatch(String s)
    
public  voidsetIncludeList(Collection list)
    
public  voidsetPort(int port)
    
public  voidsetPort(String port)
    
public  voidsetRegexMatch(boolean b)
    
public  voidsetSamplerDownloadImages(boolean b)
    
public  voidsetSamplerFollowRedirects(boolean b)
    
public  voidsetSamplerRedirectAutomatically(boolean b)
    
public  voidsetSamplerTypeName(int samplerTypeName)
    
public  voidsetTarget(JMeterTreeNode target)
     Sets the target node where the samples generated by the proxy have to be stored.
public  voidsetUseKeepAlive(boolean b)
    
public  voidstartProxy()
    
public  voidstopProxy()
    

Field Detail
DEFAULT_PORT
final public static int DEFAULT_PORT(Code)



DEFAULT_PORT_S
final public static String DEFAULT_PORT_S(Code)



GROUPING_ADD_SEPARATORS
final public static int GROUPING_ADD_SEPARATORS(Code)



GROUPING_IN_CONTROLLERS
final public static int GROUPING_IN_CONTROLLERS(Code)



GROUPING_NO_GROUPS
final public static int GROUPING_NO_GROUPS(Code)



GROUPING_STORE_FIRST_ONLY
final public static int GROUPING_STORE_FIRST_ONLY(Code)



SAMPLER_TYPE_HTTP_SAMPLER
final public static int SAMPLER_TYPE_HTTP_SAMPLER(Code)



SAMPLER_TYPE_HTTP_SAMPLER2
final public static int SAMPLER_TYPE_HTTP_SAMPLER2(Code)




Constructor Detail
ProxyControl
public ProxyControl()(Code)




Method Detail
addConfigElement
public void addConfigElement(ConfigElement config)(Code)



addExcludedPattern
public void addExcludedPattern(String pattern)(Code)



addIncludedPattern
public void addIncludedPattern(String pattern)(Code)



canRemove
public boolean canRemove()(Code)



clearExcludedPatterns
public void clearExcludedPatterns()(Code)



clearIncludedPatterns
public void clearIncludedPatterns()(Code)



deliverSampler
public synchronized void deliverSampler(HTTPSamplerBase sampler, TestElement[] subConfigs, SampleResult result)(Code)
Receives the recorded sampler from the proxy server for placing in the test tree. param serverResponse to be added to allow saving of the server's response while recording. A future consideration.



filterContentType
boolean filterContentType(SampleResult result)(Code)
Filter the response based on the content type. If no include nor exclude filter is specified, the result will be included
Parameters:
  result - the sample result to check



filterUrl
boolean filterUrl(HTTPSamplerBase sampler)(Code)



getAssertions
public boolean getAssertions()(Code)



getCaptureHttpHeaders
public boolean getCaptureHttpHeaders()(Code)



getClassLabel
public String getClassLabel()(Code)



getContentTypeExclude
public String getContentTypeExclude()(Code)



getContentTypeInclude
public String getContentTypeInclude()(Code)



getDefaultPort
public int getDefaultPort()(Code)



getExcludePatterns
public CollectionProperty getExcludePatterns()(Code)



getGroupingMode
public int getGroupingMode()(Code)



getGuiClass
public Class getGuiClass()(Code)



getHttpsSpoof
public boolean getHttpsSpoof()(Code)



getHttpsSpoofMatch
public String getHttpsSpoofMatch()(Code)



getIncludePatterns
public CollectionProperty getIncludePatterns()(Code)



getPort
public int getPort()(Code)



getPortString
public String getPortString()(Code)



getRegexMatch
public boolean getRegexMatch()(Code)



getSamplerDownloadImages
public boolean getSamplerDownloadImages()(Code)



getSamplerFollowRedirects
public boolean getSamplerFollowRedirects()(Code)



getSamplerRedirectAutomatically
public boolean getSamplerRedirectAutomatically()(Code)



getSamplerTypeName
public int getSamplerTypeName()(Code)



getTarget
public JMeterTreeNode getTarget()(Code)
the target controller node



getUseKeepalive
public boolean getUseKeepalive()(Code)



setAssertions
public void setAssertions(boolean b)(Code)



setCaptureHttpHeaders
public void setCaptureHttpHeaders(boolean capture)(Code)



setContentTypeExclude
public void setContentTypeExclude(String contentTypeExclude)(Code)



setContentTypeInclude
public void setContentTypeInclude(String contentTypeInclude)(Code)



setExcludeList
public void setExcludeList(Collection list)(Code)



setGroupingMode
public void setGroupingMode(int grouping)(Code)



setHttpsSpoof
public void setHttpsSpoof(boolean b)(Code)



setHttpsSpoofMatch
public void setHttpsSpoofMatch(String s)(Code)



setIncludeList
public void setIncludeList(Collection list)(Code)



setPort
public void setPort(int port)(Code)



setPort
public void setPort(String port)(Code)



setRegexMatch
public void setRegexMatch(boolean b)(Code)

Parameters:
  b -



setSamplerDownloadImages
public void setSamplerDownloadImages(boolean b)(Code)



setSamplerFollowRedirects
public void setSamplerFollowRedirects(boolean b)(Code)



setSamplerRedirectAutomatically
public void setSamplerRedirectAutomatically(boolean b)(Code)



setSamplerTypeName
public void setSamplerTypeName(int samplerTypeName)(Code)



setTarget
public void setTarget(JMeterTreeNode target)(Code)
Sets the target node where the samples generated by the proxy have to be stored.



setUseKeepAlive
public void setUseKeepAlive(boolean b)(Code)

Parameters:
  b -



startProxy
public void startProxy()(Code)



stopProxy
public void stopProxy()(Code)



Fields inherited from org.apache.jmeter.control.GenericController
protected transient int current(Code)(Java Doc)
protected transient LinkedList iterationListeners(Code)(Java Doc)
protected transient List subControllersAndSamplers(Code)(Java Doc)

Methods inherited from org.apache.jmeter.control.GenericController
public void addIterationListener(LoopIterationListener lis)(Code)(Java Doc)
public void addTestElement(TestElement child)(Code)(Java Doc)
protected void currentReturnedNull(Controller c)(Code)(Java Doc)
protected void fireIterEvents()(Code)(Java Doc)
protected void fireIterationStart()(Code)(Java Doc)
protected TestElement getCurrentElement() throws NextIsNullException(Code)(Java Doc)
protected int getIterCount()(Code)(Java Doc)
protected List getSubControllers()(Code)(Java Doc)
protected void incrementCurrent()(Code)(Java Doc)
protected void incrementIterCount()(Code)(Java Doc)
public void initialize()(Code)(Java Doc)
public boolean isDone()(Code)(Java Doc)
protected boolean isFirst()(Code)(Java Doc)
public Sampler next()(Code)(Java Doc)
protected Sampler nextIsAController(Controller controller) throws NextIsNullException(Code)(Java Doc)
protected Sampler nextIsASampler(Sampler element) throws NextIsNullException(Code)(Java Doc)
protected Sampler nextIsNull() throws NextIsNullException(Code)(Java Doc)
protected void reInitialize()(Code)(Java Doc)
protected void removeCurrentElement()(Code)(Java Doc)
protected void resetCurrent()(Code)(Java Doc)
protected void resetIterCount()(Code)(Java Doc)
protected void setCurrentElement(TestElement currentElement) throws NextIsNullException(Code)(Java Doc)
protected void setDone(boolean done)(Code)(Java Doc)
public void setFirst(boolean b)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.