Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with jmeter plugin for Sonarqube #2

Open
ghost opened this issue Jul 22, 2016 · 6 comments
Open

Issues with jmeter plugin for Sonarqube #2

ghost opened this issue Jul 22, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 22, 2016

Not sure if this is the correct place to report an issue. I have upgraded to the latest Sonarqube 5.6 LTS and i was using jmeter 0.3 version. Now the plugin no longer supports the latest version?

Exception in thread "main" java.lang.NoSuchMethodError: org.sonar.api.resources.Project.getProperty(Ljava/lang/String;)Ljava/lang/Object;
at org.sonar.plugins.jmeter.JMeterSensor.analyse(JMeterSensor.java:58)
at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)
at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)
at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83)
at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)
at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)
at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
at org.sonar.batch.task.ScanTask.execute(ScanTask.java:47)
at org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106)
at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
at com.sun.proxy.$Proxy0.execute(Unknown Source)
at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:240)
at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)
at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)
at org.sonarsource.scanner.cli.Main.execute(Main.java:72)
at org.sonarsource.scanner.cli.Main.main(Main.java:60)

@cfillol
Copy link
Contributor

cfillol commented Jul 22, 2016

@ghost
Copy link
Author

ghost commented Jul 23, 2016

Thanks for quick response. The new plugin is working fine with any issues, But then the Images are broken..Attaching the image from the dashboard
sonar-jmeter-0 5-plugin

@akhettar-zz
Copy link

akhettar-zz commented Nov 4, 2016

Hi

I had the same issue and I upgraded to 0.5-snapshot version. I managed to publish JMeter reports to SonarQube but I can't view the JMeter widget on dashboard despite that it has been configured. I can't see anything in the log sonar.log either. I am using the latest Sonarqube 6.1 by the way.
I run sonar-scanner command to publish JTL (in xml format)

files. I have attached copies of the log and some screenshots for you to view. Any direction would be really appreciated.

Kind regards,

Ayache
dashboardview
widgetconfigview

sonar-scanner.txt

JMeterReport.txt

@ghost
Copy link
Author

ghost commented Nov 4, 2016

We are still facing same issue could not resolve it. Any help will be appreciated.

On Nov 4, 2016, at 1:59 AM, Ayache Khettar [email protected] wrote:

Hi

I had the same issue and I upgraded to 0.5-snapshot version. I managed to publish JMeter reports to SonarQube but I can't view the JMeter widget on dashboard despite that it has been configured. I can't see anything in the log sonar.log either. I am using the latest Sonarqube 6.1 by the way.
I run sonar-scanner command to publish jtl files. I have attached copies of the log and sample screen shot for you to view. Any direction would be really appreciated.

Kind regards,

Ayache

sonar-scanner.txt


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@akhettar-zz
Copy link

@varun7447 so you're able view the JMeter widget on the dashboard, I am not. What version of SonarQube are you using?
Thanks

@ghost
Copy link
Author

ghost commented Nov 4, 2016

I am unable to view the widget. Images are all broken.

On Nov 4, 2016, at 4:02 AM, Ayache Khettar [email protected] wrote:

@varun7447 so you're able view the JMeter widget on the dashboard, I am not. What version of SonarQube are you using?
Thanks


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants