Comments (12)
1. Have you checked your /etc/hosts file?
Should look like this
127.0.0.1 localhost
xx.xx.xx.xx [hostname]
2. Also in jmeter-ec2.sh file, Line 427 add this and give me output
p (scp -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
-i "$PEM_PATH/$PEM_FILE"
-P $REMOTE_PORT
$LOCAL_HOME/verify.sh
$LOCAL_HOME/jmeter-ec2.properties
$USER@$host:$REMOTE_HOME
&& echo "done" > $project_home/$DATETIME-$host-scpverify.out)
Make sure Same User exist when you do scp to remoate machine.
Run step 2 command seperately on command line and fix it. Make sure Firewall is off
from jmeter-ec2.
My local host shows
127.0.0.1 localhost
I noticed you put a p infront of (scp
What does that do.
from jmeter-ec2.
All it does is print the command it tries to execute. have u tried
creating instance manually and scp to it ?i ran tgis script on ubuntu
machine and it created ubuntu vm and scp my jmx. not sure if something
needa to be done if you try to scp from ubuntu to win 10
On Wednesday, July 6, 2016, Franco DeAmicis [email protected]
wrote:
My local host shows
127.0.0.1 localhostI noticed you put a p infront of (scp
What does that do.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#73 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/APS_nK937TgNQyXfOFwX3R5sMmwuwxcsks5qTC2MgaJpZM4JGjwQ
.
from jmeter-ec2.
I'm wondering if the value of the $USER@$host:$REMOTE_HOME variable is being corrupted in any way. It would be great if I could hard code the value of $USER@$host:$REMOTE_HOME in the jmeter-ec2.sh in order to see if it works. That's not possible because the jmeter-ec2 script generates new instances each time you run the script
from jmeter-ec2.
Interesting finding. When I hard code the $USER@$host:$REMOTE_HOME \ value in the jmeter-ec2.sh script while the instance is running, the SCP call goes through. That makes me think there are two possibilities
1.) The value of $USER@$host:$REMOTE_HOME is either getting formatted incorrectly
2.) Once the instance status checks are complete, the SCP call is timing out
from jmeter-ec2.
The cause is the the value of $USER@$host:$REMOTE_HOME not getting formatted properly. I'll have to debug and see how the hosts array is being formatted
from jmeter-ec2.
check your jmeter-ec2.properties file for USER variable. Set proper value there. Format of $USER@$host:$REMOTE_HOME is correct.
#jmeter-ec2.properties file
Should match the AMI
USER="ubuntu"
Also check SUBNET= "" [should match with AWS subnet]
from jmeter-ec2.
I had the jmeter-ec2.sh print out a list of the host ip it extracted from amazon which was 52.41.112.80
When I create a separate SCP call to the running instance and use [email protected], the call works fine
When the jmeter-ec2.sh script makes the SCP call with [email protected], we get an error
Either there is a space being inserted in the ip or the ip is correct and the user is mangled as mentioned by gauravpatel2016. I'm getting closer to figuring this out
from jmeter-ec2.
What is permission of jmeter-ec2.sh
On Thursday, July 7, 2016, Franco DeAmicis [email protected] wrote:
I had the jmeter-ec2.sh print out a list of the host ip it extracted from
amazon which was 52.41.112.80When I create a separate SCP call to the running instance and use
[email protected] javascript:_e(%7B%7D,'cvml','[email protected]');,
the call works fineWhen the jmeter-ec2.sh script makes the SCP call with [email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');, we get an errorEither there is a space being inserted in the ip or the ip is correct and
the user is mangled as mentioned by gauravpatel2016. I'm getting closer to
figuring this out[image: host]
https://cloud.githubusercontent.com/assets/4235950/16671759/5c56e7d8-446f-11e6-8ccc-071d694a5fb4.jpg[image: sc]
https://cloud.githubusercontent.com/assets/4235950/16671768/65381c3c-446f-11e6-8f4d-4cc60a368e3e.jpg—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#73 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/APS_nD6Pdd7c1yAS898xkkPwLjIWkxJxks5qTXuagaJpZM4JGjwQ
.
from jmeter-ec2.
I gave full write and read permission to my project directory
On Thursday, July 7, 2016, Franco DeAmicis [email protected] wrote:
I had the jmeter-ec2.sh print out a list of the host ip it extracted from
amazon which was 52.41.112.80When I create a separate SCP call to the running instance and use
[email protected] javascript:_e(%7B%7D,'cvml','[email protected]');,
the call works fineWhen the jmeter-ec2.sh script makes the SCP call with [email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');, we get an errorEither there is a space being inserted in the ip or the ip is correct and
the user is mangled as mentioned by gauravpatel2016. I'm getting closer to
figuring this out[image: host]
https://cloud.githubusercontent.com/assets/4235950/16671759/5c56e7d8-446f-11e6-8ccc-071d694a5fb4.jpg[image: sc]
https://cloud.githubusercontent.com/assets/4235950/16671768/65381c3c-446f-11e6-8f4d-4cc60a368e3e.jpg—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#73 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/APS_nD6Pdd7c1yAS898xkkPwLjIWkxJxks5qTXuagaJpZM4JGjwQ
.
from jmeter-ec2.
I get a bad substitution error when I concatenate the strings. That is the cause of all my issues. No sure how to fix
from jmeter-ec2.
With $USER"@"$host":"$REMOTE_HOME, the $host variable had a huge amount of trailing spaces. THat is why the : ends up infront of the [email protected]
I had to add "$(echo -e "${mystring}" | sed -e 's/[[:space:]]*$//')" to the variable in order to get rid of the trailing spaces
from jmeter-ec2.
Related Issues (20)
- Data File location HOT 1
- (standard_in) 2: syntax error (standard_in) 1: syntax error after waiting for test to start HOT 2
- Spot requests fail because SubnetIds in the launch configuration must be a string
- CTRL-C trap to stop test does not work when jmeter encounters http errors HOT 1
- Not authorized for images: [ami-caf501aa] HOT 2
- Add an option to turn off csv parsing
- Set a timeout for stopping JMeter
- Unable to execute my test with this project HOT 4
- Verify Thread Count is numeric before launching the AWS instances HOT 1
- Error on floating point arithmetic HOT 5
- Unable execute ec2-jmeter HOT 2
- (standard_in) 1: syntax error HOT 5
- Some errors when executing the script HOT 3
- Update AMIs to support Java 8
- why i get same number of threads,regardless i use 1 or 4 slave EC2 HOT 1
- stuck in "waiting for the test to start..." and then show parse error HOT 1
- jmeter-ec2.properties does not exist in step 4 HOT 1
- logstash integration needed?
- ERROR: AWS CLI does not appear to be installed, while executing jmeter-ec2.sh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmeter-ec2.