I am trying to execute one of my k6 script in k6 cloud with 1 user 1 iteration but getting below error-
WARN Request Failed error=Post “URL” on 10.51.0.2:53: no such host instance_id=0 lz=“amazon:us:columbus” test_run_id=1399213
Please provide solution for this and reason for the error.
that error indicates that the DNS server at 10.51.0.2:53 wasn’t able to resolve the hostname you’re trying to make the POST request to.
I took a look at your script, and I wasn’t able to resolve it locally either using OpenDNS.
So make sure that the DNS configuration on that hostname is correct, and that it’s propagated and resolvable by public DNS servers.