Ok , let me tell the complete requirement:
-- I have a requirement where in a Web service is hosted which has a set
of exposed methods that i need to test. I am basically provided with the
WADL location
Contents of the WADL
------------------------
<application>
<xxx xxxx:generatedBy="Test guy 07/14/2009 07:18 PM"/>
−
<doc xml:lang="en" title="The doc for your API">
This is a paragraph that is added to the start of the generated
application.wadl
</doc>
<doc xml:lang="en" title="Documentation for the API">
documentation for restful services
</doc>
−
<grammars>
<include href="Test.xsd"/>
</grammars>
−
<resources base="http://ipaddress-port/Test/ts/">
−
<resource path="TestService">
−
<resource path="/TestReport">
−
<method name="POST" id="TestData">
−
<request>
<representation mediaType="application/xml"/>
</request>
−
<response>
<representation mediaType="application/xml"/>
</response>
</method>
</resource>
−
<resource path="/Test1Report">
−
<method name="POST" id="Test1Data">
−
<request>
<representation mediaType="application/xml"/>
</request>
−
<response>
<representation mediaType="application/xml"/>
</response>
</method>
</resource>
−
<resource path="/Test2Report">
−
<method name="POST" id="Test2Data">
−
<request>
<representation mediaType="application/xml"/>
</request>
−
<response>
<representation mediaType="application/xml"/>
</response>
</method>
</resource>
−
<resource path="/Test3Report">
−
<method name="POST" id="Test3Data">
−
<request>
<representation mediaType="application/xml"/>
</request>
−
<response>
<representation mediaType="application/xml"/>
</response>
</method>
</resource>
Looking at the above sample WADL file i could guess that HTTP was being
used and i tried with the HTTP Sampler as well but when running the test
the sampler never gets executed. I am missing something while
constructing the HTTP sampler. I tried to generate a plain HTTP sampler
with POST and as the HTTP method based on the above mentioned WADL file
but didnt get executed. JMeter actually skips the execution of this
sampler and i could not see its sample result in the Tree Listener.
Please guide me.
Thanks
Jatin
sebb wrote:
On 07/01/2010, Jatin Davey <[email protected]> wrote:
Hi Sebb
Apologies for my ignorance. You had asked a question as below :
What services does the WADL describe ?
Please guide me on how do i find it. I mean if i am given a WADL file then
how do i find the services that it is using.
Sorry, no idea.
But if it is anything like a WSDL file, it can be opened in a text
editor, and there will be URLs and parameters that should be fairly
easy to follow.
The URLs will give a clue as to which JMeter sampler might be useful.
Thanks
Jatin
sebb wrote:
On 30/12/2009, Jatin Davey <[email protected]> wrote:
Hi Sebb
Could you tell me how to do this using JMeter and which sampler to use
for
it. Can you provide some steps or any relevant documentation to do these
tests.
What services does the WADL describe?
If they are HTTP services, then use the HTTP Sampler; if SOAP, then
use either of the SOAP samplers.
Thanks
Jatin
sebb wrote:
On 30/12/2009, Jatin Davey <[email protected]> wrote:
Hi All
I used the WebService(SOAP)Request Sampler to load the API's that a
webservice may expose from the WSDL file. How can i get similar
API's
exposed using a WADL files.
Sorry, WADL files are not supported.
However, this does not mean that the server cannot be tested, it will
just take a bit longer to configure the sampler.
Thanks
Jatin
---------------------------------------------------------------------
To unsubscribe, e-mail:
[email protected]
For additional commands, e-mail:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[email protected]
For additional commands, e-mail:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[email protected]
For additional commands, e-mail:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[email protected]
For additional commands, e-mail:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail:
[email protected]
For additional commands, e-mail:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]