Reputation: 81
Suppose i have this as a URL
https://localhost/?username=john_small
and i want to get the username and display for instance :
in PHP i can do something like this
$username = $_GET['username']
then showing back what i did i go like this
<?php echo $username;?>
now in Java i also can do something like this
String username = request.getParameters("username");
and should i want to display it i do something like
<% "Hello" + <%=username%>; %>
For instance now i want to do the same in groovy, can i use the same thing like as it is in Java i am lost of ideas here
Upvotes: 2
Views: 2148
Reputation: 178
I think I am late to answer this question as I just got chance to work with SOAP UI:
Following works:
def testStep = testCase.getTestStepByName("Request Name")
testStep.requestProperties.each { it ->
log.info(it.getKey()+ " " + it.getValue().getValue())
}
Upvotes: 1