I'm facing an issue after integrating the selenium webdriver to jmeter (junit 4, jar file, Junit request).
After integration i was unable to handle the windows authentication pop up. Which means i was unable to open the browser.
These are all the steps i have done:
Using eclipse,junit 4, selenium webdriver i have created test case which login into some website but for login type would be windows authentication.
I have run the test case successfully in eclipse, i have exported this test case as a jar file and pasted into jmeter lib file. I have added additional libraries which are required to run the script.
I have created a thread group for this i have added junit request sampler, and added listeners like results data, tree, summary report.
And when i try to run the jmeter i'm getting the below error .
Thread Name: Thread Group 1-1 Sample Start: 1970-01-01 05:30:00 IST Load time: 0 Latency: 0 Size in bytes: 0 Headers size in bytes: 0 Body size in bytes: 0 Sample Count: 1 Error Count: 1 Response code: 9999 Response message: Failed to create an instance of the class:Login, reasons may be missing both empty constructor and one String constructor or failure to instantiate constructor, check warning messages in jmeter log file
Response headers:
SampleResult fields: ContentType: DataEncoding: null
- Kindly specify in what way we can achieve this?
Note: I want to reuse the already created scripts and do the load testing in jemeter.so only i have followed this approach.
REGARDS, VANI K