Contributions
Dynamically retrieve Id from PUT request
I am using soapUI (open source) for automation of REST API. I ran into some difficulties while transferring an Id from a PUT request to a GET request. The problem is that I want to dynamically retrieve the Id from the PUT request and set it as a resource path in a GET request. I attempted using property transfer to retrieve the Id (which worked using property transfer) but am confused on how to use it as a resource path in my next test step (GET). I appreciate you contributions.584Views0likes0CommentsAuthentication error.
Am very new to SoapUI. As a result, am finding it difficult to write and save a couple of test cases (CRUD). my problems are : 1. how do I write this test cases without importing wadl. 2. please what does this error mean? i keep seen it even when i have added the authentication. <html> <head> <meta content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org" name="generator"/> <title>Apache Tomcat/7.0.67 - Error report</title> <style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head> <body> <h1>HTTP Status 401 - Required Authorization header is missing or has an invalid value</h1> <hr noshade="noshade" size="1"/> <p> <b>type</b> Status report </p> <p> <b>message</b> <u>Required Authorization header is missing or has an invalid value</u> </p> <p> <b>description</b> <u>This request requires HTTP authentication.</u> </p> <hr noshade="noshade" size="1"/> <h3>Apache Tomcat/7.0.67</h3> </body> </html> from raw: HTTP/1.1 401 Unauthorized Server: Apache-Coyote/1.1 Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: 0 X-XSS-Protection: 1; mode=block X-Frame-Options: DENY X-Content-Type-Options: nosniff Content-Type: text/html;charset=utf-8 Content-Language: en Content-Length: 1079 Date: Thu, 04 Aug 2016 13:57:44 GMT <html><head><title>Apache Tomcat/7.0.67 - Error report</title><style> 3. I will be grateful if someone can put me in the right direction. thanks.2.2KViews0likes2Comments