Posts

Showing posts from September, 2013

Selenium Works with Firefox IDE

Image
I started using selenium which is a tool which i can automate tests in a more easier way comparing to Jenking Jmeter way. In this method I have to install the FireFox plugin for selenium shown in figure 1.0 https://addons.mozilla.org/en-US/firefox/addon/selenium-expert-selenium-ide/?src=search Figure 1.0 Install the plugin which will output a windows like this under the tools menu shown in figure 2.0. Figure 2.0 Now what you can do is, click the record button which is in the right top corner of the window. Do the actions you want to record in your test plan. It will record in actions and when your activitiees are finished, just stop the recording and you can run the test easily. Also you can see the output in visual format, if you entered a value in your recording, they will appear in the test as well. And special features of this is that you can export your test into different formats such as Java codes, Python or HTML etc.

How to use Performance Plugin in Jenkins

Assumptions:    Jenkins has been installed.                         Jmeter has been downloaded and ready to run.                         Maven is installed in the machine. Step 1 : Install Performance Plug-in in Jenkins. Initially we have to install the Jenkins plug-in because it is a useful tool to read the .jtl files which will be the output of the test plans we are going to create. URL : https://wiki.jenkins-ci.org/display/JENKINS/Performance+Plugin You can see it in Jenkins. Manage Jenkins --> Manage Plug-ins --> Available (tab) . Under that you will find this plug-in. Check it in and install. After installing , it will appear in Installed (tab). That concludes installing Performance plug-in in jenkins. Step 2: Creating a test plan. The easiest way to create a test plan for your own web application is to record an action you do in th...

Working with Jenkins and jmeter together,

First we need maven installed and jmeter and also Jenkins. Using GIT will be helpful. What I have used with the GIT. Run the Jenkins and create a job inside. I will attach the links to create the job and work it out. How to run JMeter tests with Maven http://ribblescode.wordpress.com/2012/04/16/how-to-run-jmeter-tests-with-maven/ How to automate JMeter tests with Maven and Jenkins (Hudson) http://ribblescode.wordpress.com/2012/04/16/how-to-automate-jmeter-tests-with-maven-and-jenkins-hudson-8/ I have used the Git Plugin , HTML Publisher plugin and Performance plugin. Git plugin is being used for use of Git and Performance plugin is the most important because we can generate graphs and monitor the results in it. HTML publisher can be used for  publish  HTML reports of our results

Working with Jmeter Part 2

Image
For developing test plans we have used the tool Jmeter . We can download the Jmeter  binaries .zip file from the link. Extract the zip file and open the command prompt.. Direct to the folder where the apache jmeter bin is. We can run jmeter by typing “Jmeter”. It will open the Jmeter windows. Here you can add elements and create a test plan.. I’m attaching few youtube links which you can refer to learn how to create a test plan. Link 1: http://www.youtube.com/watch?v=8NLeq-QxkSw Then simply you can add how many users you need and when to run the plan.. And also by adding listeners like ”Results in a tree” and ”Results in a table” you can monitor the result