Got it. I was missing the content type of what was being posted and that caused it to fail. Thanks Eric On Jul 12, 2011, at 11:30 AM, Tim Pezarro wrote:
> 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 _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

