ASF Bugzilla – Attachment 18350 Details for
Bug 39656
SOAP Action not set when HeaderManager is specified
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to set the soap action if it is not specified in the header manager
soap_action.txt (text/plain), 1.33 KB, created by
Davanum Srinivas
on 2006-05-25 09:01:08 UTC
(
hide
)
Description:
Patch to set the soap action if it is not specified in the header manager
Filename:
MIME Type:
Creator:
Davanum Srinivas
Created:
2006-05-25 09:01:08 UTC
Size:
1.33 KB
patch
obsolete
>Index: src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java >=================================================================== > >C:\APACHE\jmeter>diff -E -b -B -w -u -L "src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (revision 409249)" -L "src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (working copy)" src\protocol\http\org\apache\jmeter\protocol\http\sampler\.svn\text-base\SoapSampler.java.svn-base src\protocol\http\org\apache\jmeter\protocol\http\sampler\.svn\tmp\SoapSampler.java.tmp >--- src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (revision 409249) >+++ src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java (working copy) >@@ -129,6 +129,10 @@ > Header hd = mngr.getHeader(idx); > connection.setRequestProperty(hd.getName(), hd.getValue()); > } >+ // If the soap action is not specified in the header manager >+ if(getSendSOAPAction() && connection.getRequestProperty("SOAPAction") == null) { >+ connection.setRequestProperty("SOAPAction", "\"" + getSOAPAction() + "\""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ >+ } > } else { > // otherwise we use "text/xml" as the default > connection.setRequestProperty(HEADER_CONTENT_TYPE, "text/xml"); //$NON-NLS-1$
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 39656
: 18350