zato

How to assert value in login response in soapUI?

为君一笑 提交于 2019-12-20 07:22:02
问题 I have a login request and I want to assert a value from the response. Here is this response: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="https://TUI.io/ns/20110812"> <soap:Body> <login_resp> <zato_env> <cid>K07FKWJTWZMCNFJJBNDQVMZTW4TQ</cid> <result>TUI_OK</result> </zato_env> <item> <response>{"timestamp": "2015-11-30T17:05:37Z", "data": {"file": null, "token": "16e5fd", "endpoints": [{"label": "app1", "branc": [{"url": "/app1/v1.0/", "name": "test", }]}},

How to assert value in login response in soapUI?

给你一囗甜甜゛ 提交于 2019-12-02 08:28:56
I have a login request and I want to assert a value from the response. Here is this response: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="https://TUI.io/ns/20110812"> <soap:Body> <login_resp> <zato_env> <cid>K07FKWJTWZMCNFJJBNDQVMZTW4TQ</cid> <result>TUI_OK</result> </zato_env> <item> <response>{"timestamp": "2015-11-30T17:05:37Z", "data": {"file": null, "token": "16e5fd", "endpoints": [{"label": "app1", "branc": [{"url": "/app1/v1.0/", "name": "test", }]}}, "success": true}</response> </item> </login_resp> </soap:Body> </soap:Envelope> Now I want to assert: