Can you wrap browser.driver.quit in try catch block and try.
Also check if driver.quit api returns npe on success full closure
Is this related to selenium web driverĀ
Sent from Yahoo Mail for iPad
On Friday, September 7, 2018, 11:40 AM, MaxwellFalcon wrote:
Here is the code:
@After
public
Hi
Nothing specific to JMeter
Within your test ,if you already have some form of logging use that ,
otherwise use your favorite (log4j, java logging ,or good old
system.out.println). Add statements around where you are creating the
browser - driver etc and if you have any catch (exception){ //do
It feels like you are on the right track here. Can you walk me through how I
can go about determining what resource/dependency is missing? How can I
enable debug like you are talking about? Sorry I am very new to JMeter.
--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
Typically that indicates a setting or resource that is being found when you
run via IntelliJ and you havent made the same change for the JVM of JMeter
(e.g. are classpath settings or resources like files or command line
parameters that are read by the code)
You probably need to enable debug for
Am 7. September 2018 17:40:31 MESZ schrieb MaxwellFalcon :
>Here is the code:
>
>@After
>public void testCleanUp(){
>browser.driver.quit();
So either browser or driver is null. You could try to log /print those values
to see, which one is null.
Have you checked them at the point
Here is the code:
@After
public void testCleanUp(){
browser.driver.quit();
}
I guess it is worth noting that these tests are running perfectly fine in my
IDE (Intellij).
--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html
Am 7. September 2018 15:59:34 MESZ schrieb Maxwell Falcon :
>Here are the new screenshots: https://imgur.com/a/vaR12yn
>
>Ill post the text that was in the response data field that got cut off:
>
>Error --
>loginLogout(org.apache.jmeter.protocol.java.sampler.JUnitSampler$AnnotatedTestCase):
Here are the new screenshots: https://imgur.com/a/vaR12yn
Ill post the text that was in the response data field that got cut off:
Error --
loginLogout(org.apache.jmeter.protocol.java.sampler.JUnitSampler$AnnotatedTestCase):
null
Trace -- java.lang.NullPointerException
at