We have a test case which is generated through baseline test cases when creating the VS from Portal. Now the issue is, there is a host header in all test steps which doesn't make the api reach right(live) endpoint and as soon as we remove this header, we are able to reach the api, how can we override this header, we don't want to do it manually.
Release : 10.6
Component : CA Application Test
This is a small new feature that has been added via a patch.
Open a support case and refer our internal ticket DE477234.
You will get a uploaded devtest-portal-core-10.6.0.jar to the support case.
To apply the patch :
- Stop Portal service
- Take back up of existing devtest-portal-core-10.6.0.jar from \webserver\phoenix\phoenix-10.6.0\WEB-INF\lib\
- Replace with the one uploaded to support case.
- In phoenix.properties file add phoenix.baseline.header.setLiveHost=true
- By default value of this property would be false and recorder IP would be captured in baseline test "host" header.
- Start Portal Service