0

I have faced problem while testing login Web service using jmeter which is build in Cake PHP, Showing message "Username and Password incorrect"

Cake Url: example

http://www.absdefered.com/testingservices/services/login/

Parameter used in HTTP Request

Method used : Post

email :${[email protected]}

password :${password}

device_id :624d90909090090900009171355ce92deb486f014e251380b18

I have changed web service url to fix this issue.

http://www.absdefered.com/testingservices/services/login.php?login

enter image description here

Now i am not getting message in listener (View Result tree)Result data "Login Successfully"

asked Jan 15, 2015 at 10:26

1 Answer 1

0

I believe that you need to construct your request a little bit differently.

  • For SOAP-based web services you need to send XML
  • For RESTful web services you need to send JSON

Appropriate Content-Type header needs to be provided via HTTP Header Manager - application/soap+xml - for SOAP - application/json - for REST

See Testing SOAP/REST Web Services Using JMeter guide for more details.

answered Jan 16, 2015 at 14:03

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.