Questions tagged [operations-orchestration]

2 questions
0
votes
1 answer

TestNG for functional testing an API

I am tasked to write functional tests for an API and I am looking to use TestNG for it, is there a way I could orchestrate a bunch of API calls into one @Test - an example is POST on a resource, GET on the same resource based on the response from…
g0c00l.g33k
  • 2,458
  • 2
  • 31
  • 41
-2
votes
1 answer

Syntax error in JavaScript (Rhino) if/else statement in HP OO 9

I'm building a simple pre-response scriptlet in HP OO 9. myBody refers to an input variable "body". I want to change the content of the body input variable depending on whether or not it is empty. I'm getting a complaint on line 5 and 6. Line 5…
Martin Erlic
  • 5,467
  • 22
  • 81
  • 153