Re: Using POST with invoke

"Tim Pezarro" <Tim_Pezarro-4W7cOCfLBmzY0TyS/[email protected]>
Newsgroups gmane.comp.web.canoo.webtest
Message-ID <[email protected]_nt.nt.pmc-sierra.bc.ca>
Eric,

The post method typically needs a field in the body.

I forget what it is called.

When I get a chance I will send you an example of a working post I am using.

One way to find the correct value is to use wireshark to sniff the value of the post. This is very useful if you do not have direct control over the website you are testing.

If you search the canoo mailing list for my name and wireshark ( or google search) you should find an example I provided for someone else.

Cheers,
Tim Pezarro
Manager, Web Services
[email protected]
Phone: +1-604-415-6044
Cell: +1-604-762-1000
Fax: +1-604-415-6602
PMC-Sierra, Inc.
8555 Baxter Place
Burnaby, BC, Canada
V5A 4V7

----- Original Message -----
From: [email protected] <[email protected]>
To: [email protected] <[email protected]>
Sent: Tue Jul 12 07:22:23 2011
Subject: [Webtest] Using POST with invoke

I am trying to POST in the invoke tag using
 <invoke url="http://${ip}:8080/xpress/rest/LibraryCard/register/DEMO/AUTOMATEDTEST"
        	description="DEMO Register Test for ${ip}" method="POST"/>

but the invoke fails. This causes all subsequent tests to fail. Is there something I am doing wrong on this and is it even possible to do a post in the invoke?

Thanks
Eric_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.