You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/07/31 12:11:43 UTC
[Bug 53628] New: Jmeter does not support Soap Request with
attachment.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Priority: P2
Bug ID: 53628
Assignee: issues@jmeter.apache.org
Summary: Jmeter does not support Soap Request with attachment.
Severity: normal
Classification: Unclassified
OS: Windows XP
Reporter: arti.tripathi@pb.com
Hardware: PC
Status: NEW
Version: unspecified
Component: Main
Product: JMeter
Jmeter does not support Soap Request with attachment.
I have a Soap Web Service that has a file parameter and that file needs to be
attached with request. Jmeter UI has no option to attach file using
WebService(SOAP) Request.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Arti Tripathi <ar...@pb.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|PC |All
Version|unspecified |2.6
OS|Windows XP |All
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #5 from Arti Tripathi <ar...@pb.com> ---
Created attachment 29142
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29142&action=edit
bug screenshot
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Arti Tripathi <ar...@pb.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Jmeter does not support |Feature Request -Jmeter
|Soap Request with |does not support Soap
|attachment. |Request with attachment.
--- Comment #1 from Arti Tripathi <ar...@pb.com> ---
It is a feature Request and if this has already been fixed then please provide
the Build.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #6 from Arti Tripathi <ar...@pb.com> ---
Hi,
Yes I am able to receive correct response in SoapUI because there is a feature
of attaching file with Soap Request.
i am attaching XML and RAW request of SoapUI:
XML-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:hip="http://pb.com/engageone/hubble/HipGenService"
xmlns:xm="http://www.w3.org/2005/05/xmlmime">
<soapenv:Header/>
<soapenv:Body>
<hip:generateTemplateHip>
<hip:templateXML xm:contentType="application/?">
<xop:Include href="cid:TestTemplate.xml"
xmlns:xop="http://www.w3.org/2004/08/xop/include">
</xop:Include>
</hip:templateXML>
</hip:generateTemplateHip>
</soapenv:Body>
</soapenv:Envelope>
RAW Request-
POST http://DRSDEV.pbi.global.pvt/axis2/services/HipGenSvc HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: multipart/related; type="application/xop+xml";
start="<ro...@soapui.org>"; start-info="text/xml";
boundary="----=_Part_40_15477882.1343732046466"
SOAPAction: "generateTemplateHip"
MIME-Version: 1.0
RAW Response received:
HTTP/1.1 200 OK
Date: Tue, 31 Jul 2012 10:54:08 GMT
Server: Apache/2.2.22 (Win32) Axis2C/1.6.0
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: multipart/related;
boundary=MIMEBoundaryd557645a-4c5d-478f-ad1b-71305c23e3f3;
type="application/xop+xml";
start="<0....@apache.org>";
start-info="text/xml"; charset="UTF-8"
--MIMEBoundaryd557645a-4c5d-478f-ad1b-71305c23e3f3
content-transfer-encoding: binary
content-id: <0....@apache.org>
content-type: application/xop+xml;charset=UTF-8;type="text/xml";
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><hgs:generateTemplateHipResponse
xmlns:hgs="http://pb.com/engageone/hubble/HipGenService"><hgs:hipFile><xop:Include
xmlns:xop="http://www.w3.org/2004/08/xop/include"
href="cid:Package_Template1_0fe0a825-66dd-44c1-85f8-68e67405a7aa"></xop:Include></hgs:hipFile></hgs:generateTemplateHipResponse></soapenv:Body></soapenv:Envelope>
--MIMEBoundaryd557645a-4c5d-478f-ad1b-71305c23e3f3
content-transfer-encoding: binary
content-id: <Package_Template1_0fe0a825-66dd-44c1-85f8-68e67405a7aa>
content-type: application/octet-stream
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #13 from Arti Tripathi <ar...@pb.com> ---
Hi,
Please find the web service file for your reference and provide an update on
same?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #15 from Arti Tripathi <ar...@pb.com> ---
Created attachment 29176
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29176&action=edit
Sample wsdl
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Arti Tripathi <ar...@pb.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #7 from Arti Tripathi <ar...@pb.com> ---
Main Issue is i have bno idea where to attach the file in Web service soap
request in Jmeter.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #16 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Could you attach here your soap project ?
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #14 from Arti Tripathi <ar...@pb.com> ---
Hi,
Please find the web service file for your reference and provide an update on
same?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #10 from Arti Tripathi <ar...@pb.com> ---
I tried but getting error sending screenshot attached.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #18 from Arti Tripathi <ar...@pb.com> ---
Hi,
I have uploaded SoapUI project file.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Can you try your request in something like Soap UI or Fiddler or tcpproxy and
attach it here ?
I am not sure you're using the same specification.
Furthermore in your previous request, you are declaring xm prefix associated to
http://www.w3.org/2005/05/xmlmime,
but I don't see any usage of it in your request.
Is it the complete request ?
Regards
Philippe
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Severity|normal |enhancement
--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
What is your Jmeter version ?
What is the kind of Webservice you are testing ? is it Soap with Attachments ?
as per:
http://www.w3.org/TR/SOAP-attachments
or somethinkg else ?
Anyway your request is a enhancement not a bug.
Regards
Philippe
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Arti Tripathi <ar...@pb.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #17 from Arti Tripathi <ar...@pb.com> ---
Created attachment 29523
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29523&action=edit
SoapUI Project file
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Arti Tripathi <ar...@pb.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #9 from Arti Tripathi <ar...@pb.com> ---
I tried but getting error sending screenshot attached.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #3 from Arti Tripathi <ar...@pb.com> ---
Hi,
Jmeter version is 2.6 r1237317. Yes i am testing Soap with Attachments where i
am passing the Soap envelope as:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:hip="http://pb.com/engageone/hubble/HipGenService"
xmlns:xm="http://www.w3.org/2005/05/xmlmime">
<soapenv:Header/>
<soapenv:Body>
<hip:generateTemplateHip>
<hip:templateXML xm:contentType="application/?">
<xop:Include href="cid:TestTemplate.xml"
xmlns:xop="http://www.w3.org/2004/08/xop/include">
</xop:Include>
</hip:templateXML>
</hip:generateTemplateHip>
</soapenv:Body>
</soapenv:Envelope>
and i need to attach a template file along with the request. Please confirm if
J meter supports this feature some how or you guys are working on this Feature.
Thanks,
Arti
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #12 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
WOuld it be possible for you to attach your WSDL removing any server or private
information ?
Thank you
Regards
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P1
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #11 from Arti Tripathi <ar...@pb.com> ---
Created attachment 29146
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29146&action=edit
Soap request created as http request
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53628] Feature Request -Jmeter does not support Soap Request
with attachment.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53628
--- Comment #8 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
You CAN try:
Regular http sampler with raw request as body.
It has attach file option.
Comment if it worked for you.
Regards
Philippe
--
You are receiving this mail because:
You are the assignee for the bug.