Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy to use performance and memory .NET profiler for Windows and Linux.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

JUnit tests not completing

Moderators: Vladimir Kondratyev, Anton Katilin

JUnit tests not completing

Postby csfahey » Thu Sep 17, 2020 9:48 pm

I recently installed the YourKit profiler for Java and the plugin for Eclipse. I successfully ran a JUnit test and profiled it. I was happy. I saw the results of where I needed to focus my attention on speed. I made the changes then ran the test again. This time however, the JUnit test only performed the Init() function of the unit test but did not perform the method being tested. I restarted both Eclipse and the Profiling application but neither helped. Not sure what is wrong or why the jUnit test method wont get called under the profiler. Just to make sure, I ran it just as a jUnit test without the profiler and it ran correctly.
Posts: 1
Joined: Thu Sep 17, 2020 9:42 pm

Re: JUnit tests not completing

Postby Anton Katilin » Fri Sep 18, 2020 7:47 am

Could you please send the profiler agent log file <user home>/.yjp/log/<session name>-<pid>.log to [email protected]
Anton Katilin
Posts: 6062
Joined: Wed Aug 11, 2004 8:37 am

Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest


YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.