Presentation is loading. Please wait.

Presentation is loading. Please wait.

Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.

Similar presentations


Presentation on theme: "Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel."— Presentation transcript:

1 Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel

2 2 Day 6 Converting Selenium to JMeter Test

3  Make sure your Selenium test case is fully debugged. ◦ Open Selenium IDE and replay the html script ◦ All commands should complete successfully  Open JMeter ◦ Browse to JMeter/bin ◦ Double click jmeter.bat file After a brief wait JMeter will start…

4 Step 1  Right-click on the WorkBench and select: Add > Non-Test Elements > HTTP Proxy Server

5 Step 2  In the left panel select HTTP Proxy Server  Use the right hand panel to configure the recorder a)Specify a name for the recorder: Recorder b)Specify proxy port number: 8182 c)Select the target controller: WorkBench > Recorder d)If desired, specify grouping option: Add separators between groups Note: groups are sets of requests related to one another (usually originating from the same page)

6 Step 3  Start the recorder ◦ Click the Start button

7 Step 4  Configure Firefox Proxy settings ◦ From the Firefox browser go to Tool > Options ◦ Options panel will be displayed

8 Step 5  Select Advanced > Network tab  Click Settings…  In the Connection Settings ◦ Select Manual proxy configuration ◦ HTTP Proxy: localhost ◦ Port: 8182 Note: The Firefox proxy port# and the JMeter recorder port# must match exactly

9  From the Selenium IDE playback the pre- recorded test case.  Observe the JMeter WorkBench ◦ You should be able to see samplers and data as they are added to JMeter during script playback.

10  A set a new HTTP requests (referred to as samplers) has been added to the WorkBench  Click the Stop button to finish recording  Disable the Firefox proxy settings ◦ From the Firefox browser go to Tool > Options ◦ Options panel will be displayed ◦ Select Advanced > Network tab ◦ Click Settings… ◦ In the Connection Settings ◦ Select: No proxy DONE converting functional script to JMeter test!!!


Download ppt "Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel."

Similar presentations


Ads by Google