sebb 2003/11/19 16:20:36
Modified: src/core/org/apache/jmeter/samplers SampleResult.java
Log:
Add request and response headers and content-type
Revision Changes Path
1.14 +52 -1
jakarta-jmeter/src/core/org/apache/jmeter/samplers/SampleResult.java
Index: SampleResult.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/samplers/SampleResult.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- SampleResult.java 20 Oct 2003 23:57:24 -0000 1.13
+++ SampleResult.java 20 Nov 2003 00:20:36 -0000 1.14
@@ -99,6 +99,9 @@
private String samplerData;
private String threadName;
private String responseMessage;
+ private String responseHeaders;
+ private String contentType;
+ private String requestHeaders;
private long timeStamp = 0;
private List assertionResults;
private List subResults;
@@ -378,6 +381,54 @@
public void setStopThread(boolean b)
{
stopThread = b;
+ }
+
+ /**
+ * @return
+ */
+ public String getRequestHeaders()
+ {
+ return requestHeaders;
+ }
+
+ /**
+ * @return
+ */
+ public String getResponseHeaders()
+ {
+ return responseHeaders;
+ }
+
+ /**
+ * @param string
+ */
+ public void setRequestHeaders(String string)
+ {
+ requestHeaders = string;
+ }
+
+ /**
+ * @param string
+ */
+ public void setResponseHeaders(String string)
+ {
+ responseHeaders = string;
+ }
+
+ /**
+ * @return
+ */
+ public String getContentType()
+ {
+ return contentType;
+ }
+
+ /**
+ * @param string
+ */
+ public void setContentType(String string)
+ {
+ contentType = string;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]