Hi folks, I am trying to get an element in the response of a Rest API GET and show it in the log. I am doing this for troubleshooting. I have no problem verifying that the element contents, but the content changes depending on what server is answering from behind a vip.
This should be a simple thing to do, I am just trying to capture particular elements of the response.
I am verifying the response works with:
verifyElementPropertyValue(response, “requestHandler.error”, “null”) and that works fine.
I want to capture the value of (response, “requestHandler.hostname”, “sdlcorp%.domain.com”) but I dont think I can use wildcards.
Any help would be appreciated. We are trying to find an error in a large number of servers.