openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt |
Var response = xml2Json(responseBody); Var addresult = response["soap:Envelope"]["soap:Body"]["AddResponse"]["AddResult"]; console.log(addresult) |
pm.test("Test?Add?Function",?()?=>?{ var?response?=?xml2Json(responseBody); var?addresult?=?response["soap:Envelope"]["soap:Body"]["AddResponse"]["AddResult"]; console.log(addresult) pm.expect(addresult).to.eql(data.output.toString()); }); |
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) | Powered by Discuz! X3.2 |