AAB
4 years agoRegular Contributor
ReadyAPI: how to add custom headers at Project level?
HI, Is there a possibility to put headers on Project level please? So that each testcase in all tessuites pick up these headers? I've been looking arround on community, but this https://commu...
- 4 years ago
nmrao thanks for your question and explanation!
The purpose is actually to put in each of the teststep the same header:
iv-user: 1111 iv-group: aaaaa accept: */*
But I found the solution here:
Actually, I've forgotten too declare the headers.
Missing line:
def headers = request.requestHeaders
My bad! 😞
Kind regards,
AAB