Forum Discussion
nmrao
11 months agoChampion Level 2
Thanks.
Could you please try the below and update ?
- try to launch testrunner from with in ReadyAPI tool and see if the same is the behavior
- try to provide the absolute path of the token file?
- if that is not possible, then use project custom property for the token file and pass the file path runtime? Refer -P argument
- now see if the above log shows the log statement
- If both the above did not help, also try below change i.e., remove runner
from
runner.project.getPropertyValue("AuthToken")
to
project.getPropertyValue("AuthToken")
shilpa16
11 months agoOccasional Contributor
- try to launch testrunner from with in ReadyAPI tool and see if the same is the behavior - Nope it is working locally
- try to provide the absolute path of the token file?
- if that is not possible, then use project custom property for the token file and pass the file path runtime? Refer -P argument - Is there a way to pass the -P argument from the Run ReadyAPI Projects in TestEngine?
- If both the above did not help, also try below change i.e., remove runner - This worked atleast the exception is gone but the Token is still not being replaced. This returns the path with backward slashes runner.project.getProject().path, wondering if this is causing any issues?
Related Content
- 3 years ago
Recent Discussions
- 6 days ago
- 8 days ago
- 20 days ago