Forum Discussion

arttykh's avatar
arttykh
New Contributor
11 years ago

Read http log with groove script

Hi all,

is there any way to read http log for specific test step?

Thanks.
  • arttykh's avatar
    arttykh
    New Contributor
    UPD:
    In my http log there are several response-requests messages for current test step.

    The following code gives me only first request/last response, but I need to take value from second response.
    log.info context.expand('${getHashValue#Request}')
    log.info context.expand('${getHashValue#Response}')


    Any ideas?