Forum Discussion
Hey harry
I've done a little reading I think this isnt a ReadyAPI issue but a Jenkins or build agent issue. I'm assuming manually hard coding the User-Agent header in ReadyAPI is equivalent to using the User-Agent header flag in the Preferences.
One of the sites I found suggested setting the http.agent system property on the command line when launching Jenkins.
Unsure if that'll help or not - but worth a look maybe?
Cheers,
Rich
- harry3 years agoContributor
I have copied the soapui-settings.xml from my local to jenkins machine. I can see the user agent working. we have different usescases where we need to test with different values HttpSettings@user-agent with different values ( Android, IOS,Ipad) How can i set it programmatically? right now i was able to set with only Android. Other testcases were failing.