??SoapUI????????????????????
???????????? ???????[ 2015/8/6 14:43:06 ] ??????????????? ???????
???????????????о?????????????????????????????soapUI??????????????????????soap????REST?????????????????????????ο???
????http://www.ibm.com/developerworks/cn/opensource/os-cn-soapui/#listing2
???????????soapUI???????????????
????????REST?????????????project->service->resource->method?????????????????????ú??????????????????y????????????????????project???????ò??????Щ???????????????????????IP????????????????????????б仯????????????????????????y?????????????URL??????????е??ò?????????磺
????{
????"user_id":"${#Project#UserName}"??
????"value":"${#Project#Passwd}"??
????"host_ip":"${#Project#LocalIp}"
????}
???????????????е?user_id?project??????UserName???????????value??host_ip?????
?????????URL?????????屾?????????????{version}??????????version?????????
??????????????????????????soapUI???????????Loadrunner???????????????????????????Groovy??????Щ??????????????????????????磺
????import groovy.util.XmlSlurper;
????import java.util.Date;
????//???body??X-Auth-Token?
????String response = testRunner.testCase.getTestStepByName("Login").testRequest.response.getContentAsXml();
????log.info(response);
????body = new XmlSlurper().parseText(response)
????String Token = body.data
????log.info(Token)
????//??Token?????project????????????teststep??????
????testRunner.testCase.testSuite.project.setPropertyValue("Token"?? Token);
???????????????????????TestSuite?е?LoadTest????????LoadTest?п??????????????????????????????????????????????????????д???????????????????п?????????step?????????????????????????????????н??????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11