Yes, Virginia, there is a way to test with custom set user agent strings. You can pass that in the $headers array of goToURL. Click here to go to our documentation (and feel free to see other cool things you can control):
https://www.redline13.com/customTestDoc/class-LoadTestingSession.html