Jmeter not able to record secondary window - jmeter

I'm unable to record secondary Browser window using JMeter. The window displays 404 error message.
Jmeter recording works find on primary browser, however when i enter a screen name(Java applet) and hit enter a secondary pop up window opens up and it displays 404 page not found. This happens only during JMeter recording.

Related

IE11 losing session or cookie info after window.open

Here's my problem
I have a website(X1.com) which contains a login and a button(window.open) after login to open another app (X2.com) in a detached window.
this X2.com has list of items and when I double click an item it is supposed to open X1.com/item1.
All of this was working as expected when I was using IE9, chrome and firefox.
But when updated my IE9 to IE11 double clicking the item on X2.com is taking to the login page of X1.com saying session timed out. Chrome still works fine. When I close/logout and login again to X1.com keeping X2.com window open X2.com is able to open that X1.com/item1 page properly.
Is there an internet option or security setting or a plugin in IE that's blocking X2.com from opening X1.com/item1 page first time?
My company uses IE11 only for operations and that's why I have to get it working. Please ask if my question is not clear. I can provide the exact urls if required.
It's a common issue in IE11, as a workaround add registry entry of value 0 at:
HKEY_CURRENT_USER/Software/Microsoft/Internet Explorer/Main/TabProcGrowth

How to handle Strict Transport Security (HSTS) using JMeter

I'm trying to record traffic off a website which uses HTTP Strict Transport Security (HSTS). As a result it is not possible to add an exception for the certificate. This means I cannot record a session.
Anyone know how I can handle this?
Websites using HSTS won't allow you to add exception for a server. What you can do is to tweek your browser to allow/bypass the HSTS policy. Here's what you can do in case of Firefox -
Type about:support in your browser to open up Troubleshooting Information page. (Alternatively, select 'Troubleshooting Information' from the Help Menu).
Navigate to the 'Profile Folder' row in the table shown on the page, and click the button 'Open Folder'
This would open up a new explorer window for the firefox profile directory. Keeping this explorer window open, close/quit Firefox.
Open the file SiteSecurityServiceState.txt and delete any rows containing your server name you need to access. Save this file.
After this, when you launch firefox, it would ignore HSTS restriction.
Source : Mozilla Support
An alternate solution is to use the JMeter Chrome Plugin - BlazeMeter
You have option of using HAR to jmeter :
https://blog.flood.io/convert-har-files-to-jmeter-test-plans/
But showing your error might help

While Record with JMeter in .Net Application, Popup is not displaying

My application is developed in .NET, When i Record with Jmeter, Application is not displaying a popup after click Submit button on the page. it is recording all the other action. But after click a popup window is expecting which is not displaying
Step 1. Login application
Step 2. Input some data and click on Submit
Step 3. A popup should display which is not comming while record
Thanks
JMeter's HTTP(S) Test Script Recorder is very good, but in some cases it behaves odd.
Consider the following alternative methods of recording a scenario:
Use JMeter Google Chrome Extension - no proxies, no SSL certificates, no extra configuration.
Use Badboy recording functionality - Badboy has an option to export recorded script into a JMeter .jmx file
Use external proxy like Fiddler or Wireshark in combination with online network dumps to JMeter scripts converter

how to instantiate panel each time

in order to have a panel with dynamic content according to the content of active tab, I'm bootsrapping angularJs, invoking a controller then setting contents by services that get data from an online API.
How can I configure the panel to instantiate every time it's gonna open?
Firefox doesn't instantiate the panel each time you click of action button, unlike the Chrome and Safari. but a show message can be sent transmitted between main script and content script to trigger functions when popup opens

Redirecting to chrome:// page results in Corrupted Content Error

I have a Firefox extension which opens a new window, and in that window at some point the address should be redirected to a local addon page (chrome://myextensions/blah/somepage.html). I can open that page by addressing it directly from the Firefox address bar, but when I try to redirect there from the server which serves the pages in the new window I get a firefox Corrupted Content Error (doesn't happen in Google Chrome).
I understand that it has something to do with headers, but I can't pin point the exact problem.
Firefox does not allow redirects from http:/https: to chrome: resources.

Resources