{"id":2062,"date":"2017-02-11T12:27:55","date_gmt":"2017-02-11T12:27:55","guid":{"rendered":"http:\/\/codethataint.com\/blog\/?p=2062"},"modified":"2017-02-11T12:27:55","modified_gmt":"2017-02-11T12:27:55","slug":"getting-previous-testcase-in-soapui","status":"publish","type":"post","link":"https:\/\/codethataint.com\/blog\/getting-previous-testcase-in-soapui\/","title":{"rendered":"Getting Previous TestCase  in SOAPUI"},"content":{"rendered":"<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\ndef currentStepInd = context.currentStepIndex\r\ndef previousStep = testRunner.testCase.getTestStepAt(currentStepInd - 1)\r\nlog.info previousStep.name\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>def currentStepInd = context.currentStepIndex def previousStep = testRunner.testCase.getTestStepAt(currentStepInd &#8211; 1) log.info previousStep.name<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[222],"tags":[],"class_list":["post-2062","post","type-post","status-publish","format-standard","hentry","category-groovy"],"_links":{"self":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/2062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/comments?post=2062"}],"version-history":[{"count":1,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/2062\/revisions"}],"predecessor-version":[{"id":2063,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/2062\/revisions\/2063"}],"wp:attachment":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/media?parent=2062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/categories?post=2062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/tags?post=2062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}