Reputation: 1
I'm trying to learn load testing with JMeter(Very new). Using the tutorial to Build a Web Test Plan on the JMeter website and another youtube tutorial. When I try to run JMeter this is error i get. Please help
Thread Name:USERS 1-1 Sample Start:2020-07-23 08:54:33 SAST Load time:3151 Connect Time:3151 Latency:0 Size in bytes:2739 Sent bytes:0 Headers size in bytes:0 Body size in bytes:2739 Sample Count:1 Error Count:1 Data type ("text"|"bin"|""):text Response code:Non HTTP response code: org.apache.http.conn.HttpHostConnectException Response message:Non HTTP response message: Connect to 5z42l0gtij.execute-api.eu-west-1.amazonaws.com:80 [5z42l0gtij.execute-api.eu-west-1.amazonaws.com/54.171.7.7, 5z42l0gtij.execute-api.eu-west-1.amazonaws.com/34.252.147.236] failed: Connection refused: connect
HTTPSampleResult fields: ContentType: DataEncoding: null
Upvotes: 0
Views: 1162
Reputation: 168147
Looking into your endpoint using Nmap:
it appears that port 80 is closed, you need to open it either in your OS firewall or in AWS Security Groups
On the other hand port 443 is open which is default port for HTTPS so my expectation is that if you change "Protocol" in the HTTP Request sampler (or even better HTTP Request Defaults) you will be able to normally access your endpoint
Upvotes: 1