How to Record a Script
Ways to Record a Script
There are following ways of script recording:
- Script can be recorded using Internet Explorer/Mozilla Firefox and NetStorm Browser.
- For script recording using Internet Explorer/Mozilla Firefox, need to install HTTP Analyzer.
- WebLegacy type script is recorded by only Internet Explorer/Mozilla Firefox.
- WebC and WebJava type script can be recorded using Internet Explorer/Mozilla Firefox and NetStorm Browser.
Prerequisites for Opening Script Manager
Java must be installed on the system.
Download Link: https://www.oracle.com/java/technologies/javase-downloads.html
- If the Java version is 11 or later, refer the Download Script Manager
- If the Java version is previous than 11, refer any of the sections, either Launch Script Manager or Download Script Manager.
Set Java Path
Java Path must be set in environment variable of System properties.
Clear Java Cache
- Go to Control Panel and click the Java icon in the Adjust your computer’s settings dialog box. The Java Control Panel dialog box is displayed.
- Click the Settings button, the Temporary Files Settings dialog box is displayed.
- Click the Delete Files button, the Delete Files and Applications dialog box is displayed.
- Select all check boxes and click the OK button.
Launch Script Manager
Follow the below mentioned steps to login into NetStorm portal and launch Script Manager:
- Enter the NetStorm login URL.
- Enter the Username and Password and click the Login button. The NetStorm – Product UI Home page is displayed.
- Go to View > Scripts > Launch Script Manager menu item. The system prompts to open recorder.jsp file. Select the Open with option (Java Web Start Launcher) and Click OK.
Procedure for Launching Script Manager may vary based on the Browser and other settings.
- Once the application gets downloaded and verification is completed, the security warning dialog box is displayed.
- Click the Run A dialog box for getting scripts message is displayed
|If user clicks the Run in Background button, this dialog box is disabled and scripts run in background.|
- After getting Scripts and loading the background files, the Script Manager window is displayed.
Download Script Manager
You can also launch the Script Manager by downloading the installer.
- Log into NetStorm.
- Select View > Scripts > Download Script Manager.
3. The ScriptManager.exe file is downloaded within the Downloads folder.
4. Launch the Script Manager by double-clicking the ScriptManager.exe file.
5. Provide the Controller URL (the IP of the machine for which you need script manager to be accessed), User Name (username of the machine), and Password (login password) and click Login.
6. After login, the Script Manager window is displayed.
Script Manager Screen Details
Script Manager Screen contains following sections:
- Menu bar
- Tool bar
- Left pane
- Right pane
- Bottom pane
Script Manager Menu bar contains following main menus:
File menu contains the following sub-menus/menu-items.
- New: New option is used to create a new file/directory inside the script.
|To create a file/directory inside the script, user needs to select the File/Directory option accordingly.|
- Insert: Insert sub-menu has the following options.
- Parameters: Parameters sub-menu has options for different types of parameters to use in the Script, they are as follow:
- Save: Save option is to save the script after being edited.
- Exit: Exit option is used to exit from Script Manager GUI.
Edit menu contains the following sub-menus/menu-items.
- Find: Find string(s) in a file
- Replace: Replace string(s) in a file
- Go to Line: Go to a specific line in file
- External Libraries: To add external libraries
- Version Control: To enter commit comments and view the version control of script
- Create Script: To create a script
- Create Script with WSDL: To create script with WSDL.
- Copy Script: To copy the script
- Delete Script: To delete an unwanted script
- Rename Script: To rename a script
- Copy Flow: To copy the flow file
- Rename Flow: To rename a flow file
- Delete File: To delete a file
- Copy File: To copy a file
- Page(s): To View/Change the Page name of the Script
- Append Page(s): Appends pages to another script
- Recorder Options: This feature provides the way to split the pages while recording for different method(s)
- Filters: To filter some URLs at the time of recording of a script
- Download Script: To download Script on the User’s system (Downloads in .zip format)
- Upload Script: To upload a script from User’s system to Script Manager (Script should be in .zip format).
View menu contains the following sub-menus/menu-items.
- Run Logic: To define the flow of the execution. It is covered in detail later in this document.
- Debug Log: To open Debug Log file
- Error Log: To see the Error Log file
- Snap Shot: To view the Snap Shot of the Script
- Compare Script: To compare two or more scripts
- View Script: To view the Script’s files in the Browser
- View Parameters List: To view the parameters list.
- Compile Script: To compile a script
- Page Details: A user can see Page Detail information of recorded script, such as URL, Headers, Request and Response, Cookies, etc.
- Test Script: It runs the Script and creates Test Run
- Show/Hide spec: To show/hide the registrations.spec file. By default, it is visible.
- Show/Hide Analyzer: To show/hide the HTTP analyzer.
Action menu contains the following sub-menus.
- Start Recording: To start the script recording
- Stop Recording: To stop the script recording
- Pause Recording: To pause the script recording
- Resume Recording: To resume the script recording
- Cancel Recording: To cancel the script recording
- Enable Log: To enable the logs for debugging purposes
- Classic Recorder: Old recorder of NetStorm
- Release Memory: To release all the used memory after recording
This menu contains the path of the files opened on the right page of the screen. The format is – Project/Subproject/Script/File
This contains a list of icons from where user can perform the actions.
|Start button||To start Recording the script|
|Stop button||To stop recording the script|
|Cancel button||To cancel the script recording|
|Pause button||To pause script recording|
|Resume button||To resume script recording|
|Comment button||To add comments in a script|
|Create button||To create a new file inside the script|
|Save button||To save a file after editing|
|Copy button||To copy the script|
|Download button||To download a script to local machine|
|Upload button||To upload a script from local machine|
|Runlogic button||To open the Runlogic GUI window|
|Delete script button||To delete a selected script|
|View Snapshot button||To see the snap shot of pages of a script|
|Compile Script button||To compile a script|
|Test script button||To execute a script from script manager|
|Commit Script Version button||To commit a script version|
|Version Control History button||To view the version control history of the script|
|View script button||To view all files created after recording|
|Synchronize button||To refresh the script manager GUI|
|Exit button||To exit from the Script Manager GUI|
|Download Project||To download a project to the system|
|Upload Project||To upload a project from the system|
|Save All BreakPoints||To save all breakpoints in the script|
|Continue||To start the script replay and pauses it on the next breakpoint of the script|
|Step by Step||To run the script one line at a time|
|Stop Debug Trace||To stop the debug trace|
Left pane contains list of projects, sub projects, its associated scripts and other files. The following figure shows a sample left pane of the Script Manager GUI:
This is also known as Message panel where the debugging or information messages are displayed. The following figure shows a sample Bottom pane of the Script Manager GUI:
Right panel displays the content of the selected file from left pane. The following figure shows a sample Right pane of the Script Manager GUI:
The Advance Settings section allows the user to set some advance recording options. Click the Start Recording icon. The script recorder dialog box is displayed.
For opening the Advance Settings dialog box, click the Advance Settings button. Once clicked, the Advance Settings dialog box is displayed.
The Advance Settings section consists of following tabs:
- Netstorm Browser
- Modify Headers
To perform the General settings, click the General tab. The General settings dialog box is displayed.
There are following options under General settings tab:
- Browser Type: User can set which browser to be used for recording. Available options are – External Browser/Native Apps, Netstorm Browser, and Internet Explorer. Click And Script type scripts can be recorded only by Netstorm Browser. Legacy type script cannot record by Netstorm Browser. C type script can be recorded by all supported Browsers. By default, Netstorm Browser is selected. Other options are enabled/disabled based on the type of browser selected.
- External Browser/Native Apps: This browser type is used for recording scripts from any non-browser application, such as a mobile app. This browser uses proxy recorder to get http request response and other information about http request. After setting options from Script GUI, set up environment/port for recording from JSP interface.
- Netstorm Browser: This browser type is used for recording C type of scripts. This browser used JxBrowser APIs which used low level Mozilla APIs.
- Internet Explorer: This browser is used for recording Legacy and C type of scripts. This browser used HTTP Analyzer to get http request response and other information about http request.
- Clear cache before recording: By selecting this check box, system cache is automatically cleared before start of a script recording. By default, it is selected.
- Clear cookie before recording: By selecting this check box, cookies are automatically deleted from the system before start of a script recording. By default, it is selected.
Split Page Options
- Split page for Time difference of URL: User can split page depending on the specified time. If the difference between embedded URL’s request start time and its previous URL’s response time is greater than the specified time, then that particular URL becomes main URL. First select the checkbox and then specify the time in seconds.
- Split page option for Specific method: This option is used if user wants embedded URLs with particular method to be split as main URL. The available methods are:
|User can select all methods by selecting the ALL check box.|
- Split page option for Ajax HTTP Header: This option is used to split a page with Ajax header (XMLHttpRequest).
- Split page option for User Click Event: This option is used to split a page with User click.
- Split page option for URL type: This option is used to split a page on specific URL type (like json URL).
External Browser/Native Apps Option
It is used in case of external device, such as tablet is used for recording a script. This option is enabled after selecting the browser type as External Browser/Native Apps. Specify the page boundary time in seconds.
Body Size Option
If body contents exceed the body size given in textbox, then body contents save in new created directory (http_request_body) in script directory.
Real Browser User Script Options
Real Browser User Support is a way of simulating the Internet access & Browsers executing the transaction via “real” browser (Real Browser Users or RBU). RBU’s are much more heavy weight than typical Virtual users as for an RBU NetStorm uses real browser to download page.
- BrowserUserProfile: The entire changes user makes in Firefox, like home page, what toolbars used, saved passwords and bookmarks, are all stored in a special folder, called a profile.
- HarLogDir: Name of the log file where har file is generated. Default name is logs.
- PageLoadWaitTime: Estimated time required to load the page. Default is 30 sec.
- VncDisplayId: Implies vnc server display number. Default is 1.
- HarRenameFlag: Indicates har files should be renamed or not.
- 1: Rename the har file, adding page name to har.
- 0: Do not rename the har. Keep the har file name as generated by the browser.
It is used when user is using Netstorm browser for script recording. Here, user can set the Netstorm browser options and can perform the configuring settings. To perform the Netstorm Browser settings, click the Netstorm Browser tab. The Netstorm Browser setting dialog box is displayed.
There are following options under Netstorm browser tab:
Netstorm Browser Options
Here user can set following browser level options:
- Image Download
- Disable Plug-ins
- Ignore security certificate warnings
- Enable Snapshot Capturing
- Enable PreSnapshot Capturing
|By default all check boxes are selected.|
- Setting User Agent: This option is used set the string in request/response. Default user agent string is Mozilla/4.0 (Windows; U; Windows NT 6.1; en-US; rv:188.8.131.52) Gecko/20111103 Firefox/3.6.24
- Browser Engine: User can set browser engine which is used for downloading. By default, it is Mozilla.
- Open browser in Heavy Weight Mode: In the heavyweight rendering mode, we embed a native window into your Java application window and configure Chromium engine to render content into this native window using GPU. User interaction with displayed web page is done by Chromium engine. Chromium receives and processes mouse/keyboard/touch events using platform specific native functionality. It brings a better support of mouse/keyboard/touch events compared to lightweight rendering mode where NetStorm Browser has to process Java events and forward them to Chromium engine. Therefore, if rendering performance is very important for your application, then we recommend that you use default heavyweight rendering mode.
Configure proxy server for recording
In this section, user can configure proxy server for recording. A proxy server is a server that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource available from a different server and the proxy server evaluates the request as a way to simplify and control its complexity.
No proxy: By selecting this option, no proxy is applied to access the web server. This is the default option.
Use system proxy settings: If user selects this option, the proxy settings which are set for the system is applied. In case system proxy is already defined, those settings are loaded for any view/updation. Else, it appears as in case of manual proxy configuration. User can configure system proxy settings and save them. System proxy setting would be configurable only from default scenario settings when user login as Admin.
Use manual proxy settings: In manual proxy settings, set up the proxy manually.
The Manual proxy section contains the following options:
Manual proxy configurations
- HTTP Proxy: An HTTP proxy is a category of network setting that can be configured in network (or Internet) accessing applications. Specify the HTTP proxy in the following format: http://ip:port. Port number ranges from 1 to 65535. By default, it is 80.
- SSL Proxy: It routes traffic from a client to web server using the Secure Sockets Layer (SSL) protocol. SSL is an encrypted protocol that creates a secure connection from a client to another client or server. Specify the SSL proxy in the following format: https://ip:port
Port number ranges from 1 to 65535. By default, it is 443.
|To have same proxy server for both HTTP and HTTPs protocols, select the Use same proxy server for both protocols check box. All protocols are using same server and port for all the protocols.|
- Exceptions: Exceptions options get enabled in case Manual proxy configuration check box is selected. To bypass proxy server for local address, specify the local address for example, 168.1.0/24 in the No Proxy for text box then select the Bypass proxy server for local address check box.
- Proxy authentication credential: User’s credentials are verified here. If user selects the Proxy authentication credential check box, the following options are displayed. Enter the User Name, Password and Confirm Password.
|Password and Confirm password values are encrypted and are verified at the back end.|
Debugging Tools Support in NetStorm Browser
Debugging tools support enables a user to view the request / response in script recording using NetStorm browser.
When user clicks the icon, debug mode is ON. User can see the request / response over the network.
This section is used to perform header settings and cookie settings for recording a script. To perform these settings, click the Modify Header tab. The Modify Header settings dialog box is displayed.
The purpose of header setting section is to manually specify the header name and its value. User can add more than one header in the script by clicking the More button. User can also replace or append the header. In case of Replace, the header specified replaces the existing header. In case of Append, the specified header is appended to the existing header.
The purpose of cookie setting section is to manually specify the cookie name and its value. User can add more than one cookie in the script by clicking the More Cookie button.
In some cases, if user wants to record headers, such as Referer, User agent String in flow file of script so that NetStorm can send only those headers which are present in flow file of script. In this case, user needs to record all headers in flow file of script. For this, Advanced tab for Header recording is implemented in Script Manager GUI.
There are following headers options in Advanced tab:
If user selects All check box, then All Headers checkbox is enabled and displayed in flow file of recorded script. User can select any of the header check box provided.
If Add Transaction check box is selected, then transactions (i.e. start transaction and end transaction) are automatically added to all the pages of recorded script in flow file.
Recording with Sample Application
Follow the below mentioned steps for recording a sample application:
- Login to NetStorm GUI from the browser.
- Go to Script Manager section and click the Launch Script Manager sub-menu.
The Script Manager GUI is displayed.
- Click the Start Recording button, the Script Recorder dialog box is displayed.
- Enter the Script Name, URL to record, Project name, Subproject name and Protocol Category and Click OK. The recording is started and the page specified in the URL text box is displayed.
|User can set advance settings by clicking the Advance Settings button. Advance setting has already been described.|
- Enter the Member name “hello” and password “world” and click the login
- Click the “flights” button to find flights.
- Enter the flight details: (Recording Page-3)
- Select the Departure City as “New York” and Departure Date is default.
- Select the Arrival City “Paris” and Return Date is default.
- Enter No. of Passengers as 2.
- Select Seating Preference as “Window”.
- Select Type of Seat “Coach”.
- Click the continue button.
- Select the third option for Flight. Click the continue button. (Recording Page-4)
- Enter some dummy personal details – Name Address and credit card details. Click the purchase flight button. (Recording Page-5)
- This is flight confirmation page to confirm the flight. Click the sign off button on left side to logout. (Recording Page -6)
- This is logout page which confirms that user has successfully logged out. (Recording Page – 7)
- To finish the recording, click the Stop Recording button on script management window. The Script is created.
- After creation of script, recorded script page names is displayed.
- Above are the default page names which come automatically from Query String, selecting only the last part of the URL.
- If two pages have same name then it is differentiated by pagename_2 for second page, pagename_3 for third page and so on.
- findflight_3, of recorded script
|User can change the page names by clicking the Change button.|
Viewing Recorded Script Structure
Follow the below mentioned steps for viewing the recorded script structure.
- The flow.c file of Recorded script is displayed by default.
- To view the init_script.c file of Recorded Script, double -click the init_script.c file.
- To view the registrations.spec file of Recorded Script, double-click the registrations.spec file. Parameters and checkpoints are added here.
- To view the exit_script.c file, double-click the exit_script.c file.
Viewing Snapshot of Recorded Script
- To view the snapshot of the recorded script, click the View Snapshot button on the tool bar.
- The script pages’ snapshot is displayed.
- To check the Request/response from snapshot, click the page number of each page. User can also check the main URLs which are followed by the embedded URLs.
Testing the Recorded Script
Script Testing is useful for quick test of recorded script. By Script Testing, user can easily look at the flow and how the script is recorded. It should be noted that Script testing is not meaningful for those scripts which are taking dynamic values. For example – Account number, Username, Password etc.
- To test the recorded script, click the Test Script button on the Script Manager window.
- The Test Script dialog box is displayed.
3. First, user needs to specify the number of virtual users and number of iterations. Further, there are certain features for users, such as:
- Fetch / do not fetch inline objects
- Treat page as transaction or not
- Simulate a new user on each iteration
- Run virtual user as Real Browser User
- Capture Video
- Continue Session on page error
- Disable NetStorm Monitors
- Enable Script based headers
- Override recorded page think time by specified seconds
- Scenario profile: The user can use existing scenario profile while executing a test from script management.
- Run in Debug mode
4. On clicking the Advance Settings button, user is navigated to a dialog box to set the proxy settings and Java settings.
- Proxy Settings: Here, user can specify the protocols, such as HTTP proxy/port and SSL proxy/port. User can also set same proxy server for both protocols. For example: proxy.cavisson.com.
- Java Settings: Here, user can set the java class path.
- 5. Specify the details and click the OK button. Next, user is navigated to the Test Script dialog box, click OK. The script testing is processed and generates a list with time stamp and trace messages.
Script debugging feature allows a user to debug the script by adding breakpoint so that the user can analyze or verify the data or flow by printing the value of any variable / step execution to verify the condition.
- User can add Breakpoint by clicking on line number in flow file of script.
- For running script in Debug mode, there is an option “Run in Debug Mode”.
- Start the test in debug mode.
- Following options enabled once test is started in Debug Mode:
- Continue: Continue command starts the script replay, and then and pauses it on the next breakpoint of the script.
- Step by Step: The ‘Run Step by Step’ command runs the script one line at a time. This enables the user to follow the script execution. The ‘Run Step by Step’ command starts the script replay, and then and pauses it on the first line of the script.
- Stop: To stop Debug Test
Note: If a user applies multiple breakpoints in a script and stops the debug trace by clicking the ‘Stop Debug Test’ button before execution of all the breakpoints, then test is stopped immediately and further breakpoints are not executed. The same is reflected in debug trace logs.
Details of Execution while executing Script having Breakpoints.
- Debug Trace window for Request/Response & Test Run output details:
6. The user can view NS variable data during execution by right-clicking in flow file of script and selecting View Variable Data.
Variable value data using ns_eval_string
Variable value data in HTTP URL
Below use cases defines script execution based on the available options, such as Continue and Step by Step. The user first needs to apply the break points in the flow file of the script. Then, run the script in debug mode. Once the script is executed in debug mode, user can use the script replay options (Continue / Step by Step).
On selecting this option, the script execution is started from the first break point and jumps to next breakpoints.
When user clicks the icon, the script execution is jumped to the next breakpoint and execute the intermediary steps.
Further, on clicking this icon, the script execution jumps to next break point.
The user can view the script execution report in the lower panel.
Step by Step
On selecting this option, the execution is done line by line. It starts the script replay, and then and pauses it on the next line of the script.
When user clicks the icon, the execution is performed in sequential manner line by line.
Clicking it further, executes the next line of flow file.
User can view the script execution report in the lower panel.
If there is any syntax error then user gets proper Error message while compiling the script.
Below is a Flow file of script having Syntax Error:
Compilation Error while compiling script having some Syntax Error:
Detail of Errors is displayed on lower panel while compiling script:
Highlighting Missing API Close Brackets in Script Compilation
Earlier, during script compilation if there was any syntax error in multiline API, like if ‘);’ was left in multiline API, NetStorm used to skip that without throwing any compilation error. Now, NetStorm highlights an error for the same.
View Page Details
A user can see Page Detail information, such as URL, Headers, Request and Response, Cookies of recorded script. To view the page details, follow the below mentioned steps:
- On the Script Manager UI, go to the View menu and click the Page Details menu item.
2. This displays various details, such as URL, Headers, Request and Response, Cookies, of the recorded pages in the flow files.
3. User can select the flow and page name from the drop-down list. The details are categorized into main URL (with green color) and inline URL (with grey color) and displayed in tabular format according to the selected page, such as path of the main / inline URL, response, host, status code, size of the component (page / image), method, content type, and URL.
The detailed information includes – Raw data, Request body, Response body, headers, cookies, and query string. To view the response of a request, click the View Response check box.
Viewing Various Reports
User can view various reports generated on the script by clicking the View Reports button. These reports included:
- Summary Report
- Page Dump Report
- Progress Report
- Failure Report
- Page Breakdown
- Page Detail Report
Summary report shows the summarized status of execution of script. It shows total number of executed pages and URLs of script and also shows completed session on execution of script.
- Click the Summary Reports link in the Reports Selection page. The Summary report is displayed:
This report includes following information:
- Test Information
- Other Information
- Click the Close button to close the Summary report.
Page Dump Report
Page dump report shows all executed pages of script in tabular form. This report displays page details, such as Start time, Page Name, Page Status, Page Response Time etc.
- Click the Page Dump link in the Reports Selection page. The Page Dump report is displayed:
This window provides various details on sessions, such as session start time, page name, page status, page response time, parameter substitution, HTTP request, HTTP response body, and HTTP response.
- To view the HTTP response page snapshot, click the page name.
- To view the parameter substitution values, such as parameter name and parameter value, click the Parameter Substitution link.
- To view the HTTP request, click the View link within the Req column.
- To view the response body (the page before loading), click the View link within the RespBody column.
- To view the HTTP response, click the View link within the Resp column.
Progress report shows execution status of script. It shows number of all executed pages, URLs and sessions. Progress report also shows status of execution of all pages, URLs and sessions as fail or success.
- Click the Progress Report link in the Reports Selection page. The Progress report is displayed in the following format:
Failure report shows the detail for any failure occurs due to execution of script.
- Click the Failure Report link in the Reports Selection page. The Failure report is displayed in the following format:
Page Breakdown Report
- Click the Page Breakdown link in the Reports Selection page. The Page Breakdown report is displayed in the following format:
Creating a Page using Action API
Script Manager contains ActionAPI GUI to add Page APIs as functions and updating dump for the added functions. ActionAPI supports various protocols Web URL/HTTP, SMTP Send, POP Get, POP Stat, POP List, FTP Get, DNS Query. Action API for Web URL/HTTP also provides option to add URLs as Inline in Web URL page API. User can also create a page using Action API.
User needs to follow the below mentioned steps for creating a page using ActionAPI:
- Open the flow file of a script and right-click on it. Go to Insert > Action API.
- The ActionAPI dialog box is displayed.
- Enter the following details:
- Page Name: Specify the page name. The page name is of maximum 32 characters. First character must be Alpha. Other characters are Alpha, Numeric or Underscore.
- Protocol: Specify the protocol from the list of protocols, such as Web URL, SMTP Send, POP Get, POP Stat etc.
- URL: Specify the URL. By default, this is the main URL. User can change it to Inline URL using the URL Type option. In case of Inline URL, user can also specify whether the Inline URL is First Inline, Middle Inline, or last Inline URL.
- Method: Specify the method from the list of methods, such as GET, POST, HEAD, DELETE etc.
- Body: User can type the body content or upload body content from a file. In second case, user has the option to upload body from file with no parameters.
- Specify the following advance options which are displayed on clicking the Show Advance Options button.
- Header (s)
- After filling all the required details, click the Preview button to preview the page details.
- Click OK. The page is added to the flow file.
Create Script using Wizard
User can create script by using wizard too. For this, user needs to follow the below mentioned steps:
- Go to View > Scripts > Create Script.
2. This displays the first screen of the wizard (i.e. Project Details) to create script.
Here, user needs to provide the following details:
- Script Name: Name of the script. It should be a valid script name.
- Project Name: Project where this script is to be created.
- SubProject Name: Sub-project within the specified project where this script is to be saved.
- Script Type: Type of the script, which is to be created.
- Once the script details are specified in the first screen of the script creation wizard, click the Next This displays the next screen of the wizard (i.e. Page Details).
Provide the following page details in this screen of wizard:
- Page Name: Name of the page within the script.
- Page Think Time: Page View Time in seconds (after a page is downloaded).
- Start Transaction Name: It acts as a marker to define the start of a transaction. To mark the start transaction name same as the defined page name, select the Same as Page Name check box. Transaction name length is supported to 1024 characters.
- End Transaction Name: It acts as a marker to define the end of a transaction. To mark the end transaction name same as the start transaction name, select the Same as Start Transaction Name check box.
- URL: Specify the URL to be captured.
- Method: Specify the method name, such as GET, POST, PUT, DELETE.
- Cookie: Specify the cookie value. If there are multiple cookies, separate them with comma.
- Header: Within this section, specify the header name and header value. Add them using the icon.
- Then, click the Save The details are displayed in tabular format.
- Upon clicking the Next button, user is navigated to Inline Page Details
Inline Page Details
Here, user needs to provide the following details:
- Page Name: Select the page name within which you need to add the inline page details.
- Inline URL: Specify the inline URL, which is the extension of main URL.
- Method: Select the HTTP method from the available options.
- Cookie: Specify the cookie value. If there are multiple cookies, separate them with comma.
- Header: Within this section, specify the header name and header value. Add them using the icon.
- Then, click the Save The details are displayed in tabular format.
- To view the preview of script file, click the Preview button.
- To navigate to the previous / next screen, click the Prev / Next button accordingly.
- To finish the script creation, click the Finish button.
JMeter to Cavisson Script Convertor
A user can convert a JMeter script into Cavisson Script using the script convertor provided by Cavisson. Post this, user can view the converted script in NetStorm Script manager and can view the Scenario via NetStorm’s Scenario UI. To do this, follow the below mentioned steps:
- On the product’s home page, go to Advance > JMeter.
2. This displays JMeter to Cavisson Script Converter window.
3. Select the project, sub-project, and JMeter script. Once the script is loaded, click the Convert button for its conversion into Cavisson format.
4. The script details, such as thread group, and cavisson script path are populated in a table.
5. To launch the script in Script Manager UI, click the View Script button.
6. To view the scenario in NetStorm Scenario UI, click the View Scenario button.