Forum Discussion

nrajeshkumar's avatar
nrajeshkumar
Occasional Contributor
14 years ago

How to assert response in Raw Tab

Below is the response I got in the Raw tab in soupui when I invoke a REST service. I'm trying to find how to assert the data in this response like "Update successful". If anyone know how to handle this, kindly share your ideas


HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 16:15:34 GMT
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548)/Tomcat-5.5
responseReason: Update successful.
Content-Length: 0
Set-Cookie: JSESSIONID=EE5332D5A6F9634017852BC2B5472B4A; Path=/
Content-Type: text/plain; charset=UTF-8
Set-Cookie: BIGipServerqa2-kaptest_http-pool=818745516.20480.0000; path=/

2 Replies

  • I m also looking for the same information.

    the purpose is to validate the HTTP Header in a REST service response.

    Please share ideas how this HTTP header ( HTTP/1.1 200 OK or Anything in header) can be validated using assertion (Script or ?)

    ~Thanks