Thanks again Carlos.

But looks like i am missing on something. As i have mentioned earlier that
i don't have any projects added. So when i am project dashboard. I don't
see any thing.

Can you please provide me some pointers which will help me to add projects?

Thanks,
Niraj

On Sat, Mar 23, 2013 at 11:12 PM, Carlos Fillol Sendra
<[email protected]>wrote:

> Hi Niraj,
>
> Try this. Tested with Sonar 3.5:
>
>    - Go to your project dashboard and select Configuration > Settings >
>    JMeter (be careful, this is your project configuration for jmeter sonar
>    plugin, do not select Settings > Configuration > JMeter, that will bring
>    yot to the global configuration for all the projects)
>    - In project configuration of JMeter sonar plugin you will see a
>    property named *Local jtl file*. Set the local path to your project
>    jtl file in this property.
>
> [image: Imágenes integradas 1]
>
> 2013/3/22 Niraj <[email protected]>
>
>> Thanks Carlos for a detailed explanation. However i am still not able to
>> view JMeter results.
>>
>> Please find below steps which i have followed:
>> 1. Downloaded jmeter-sonar-plugin-0.3 and copied to
>> C:\sonar-3.5\extensions\plugins.
>> 2. Restarted SONAR.
>>
>> But Can you please let me know when i have Sonar and .jtl file on same
>> machine, where i need to specify path of .jtl file.
>>
>> Also when i have added JMeter widget to dashboard, i got the error "An
>> error occurred while trying to display the widget "jmeter". Please contact
>> the administrator."
>>
>> Thanks,
>> Niraj
>>
>>
>> On Fri, Mar 22, 2013 at 2:24 AM, Carlos Fillol Sendra <[email protected]
>> >wrote:
>>
>> > Hi Niraj,
>> >
>> > Last JMeter Sonar Plugin release is 0.2 but I recomend you to use last
>> 0.3
>> > snapshot because is more stable than version 0.2.
>> >
>> > JMeter Sonar Plugin will try to get jtl info when 'mvn sonar:sonar' is
>> > invoked.
>> >
>> > So you will have to:
>> >
>> >    - Configure and run jmeter-report-server in the remote machine where
>> you
>> >    have the jtl file. Basically:
>> >
>> >
>> >    - Download and uncompress jmeter-report-server-0.3 last
>> > snapshot<
>> >
>> http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/jmeter/jmeter-report-server/0.3-SNAPSHOT/jmeter-report-server-0.3-20130128.181910-2-dist.zip
>> > >
>> >       - Add a line like this in
>> properties/jmeter-report-server.properties:
>> >
>> > testconfig.*yourconfigname*.jtlpath=*/path/to/jtl/file.jtl*
>> >
>> >    - Start jmeter-report-server so it will be ready to receive incoming
>> >       requests from jmeter sonar from sonar machine. You can do this
>> > executing
>> >       jmeter-report-server.bat (in Windows) or jmeter-report-server.bat.
>> >
>> >
>> >    - Download jmeter-sonar-plugin-0.3 last
>> > snaphot<
>> >
>> http://snapshots.repository.codehaus.org/org/codehaus/sonar-plugins/jmeter/sonar-jmeter-plugin/0.3-SNAPSHOT/sonar-jmeter-plugin-0.3-20130128.182314-2.jar
>> > >into
>> > Sonar machine, into Sonar extensions/plugins folder, and restart
>> > Sonar.
>> >    - Configure JMeter Plugin parameters in the corresponding project in
>> >    Sonar web portal. You have to set jmeter-report-server machine IP and
>> > port
>> >    (default port is 4444), and the test config name (in this case it
>> would
>> > be
>> >    *yourconfigname*)
>> >    - Go to project sources folder in Sonar machine and run command 'mvn
>> >    sonar:sonar'. This will make that jmeter-sonar-plugin try to bring
>> > jmeter
>> >    test results from jmeter-report-server. This will work on a basic
>> >    installation of Sonar. In case that you use jenkins or hudson in an
>> > other
>> >    machine you may have to configure maven there to be able to find
>> Sonar
>> >    server.
>> >
>> >
>> > All that in the case that jtl file was in another machine different than
>> > the machine where Sonar runs. If the case that jtl file was in the same
>> > Sonar machine, things became less difficult: you wouldn't have to
>> install
>> > Jmeter Report Server (only JMeter Sonar Plugin), and it will be enough
>> to
>> > configure jtl file local location in Sonar configuration of your
>> project.
>> >
>> >
>> > Regards,
>> >
>> > Carlos Fillol
>> >
>> > 2013/3/21 Niraj <[email protected]>
>> >
>> > > I will check with Sonar folks if they can help me. If i am able to
>> > resolve
>> > > this then i will add solution in thread. Thanks!
>> > >
>> > > On Thu, Mar 21, 2013 at 3:25 PM, Adrian Speteanu <[email protected]
>> > > >wrote:
>> > >
>> > > > Oops, I shouldn't have assumed you're running it in/with Jenkins.
>> I'm
>> > > stuck
>> > > > then also. Maybe the people from Sonar can help you.
>> > > >
>> > > > Regards,
>> > > > Adrian S
>> > > >
>> > > > On Thu, Mar 21, 2013 at 8:59 AM, Niraj <[email protected]>
>> > wrote:
>> > > >
>> > > > > Nope. I have setup Sonar and provided .JTL file in JMeter
>> > > configurations.
>> > > > >
>> > > > > On Wed, Mar 20, 2013 at 11:01 PM, Adrian Speteanu <
>> > [email protected]
>> > > > > >wrote:
>> > > > >
>> > > > > > You do have Jenkins with Sonar installed? and have you followed
>> the
>> > > > > > instructions regarding the Report Server?
>> > > > > >
>> > > > > > It should work just like any other plugin if everything is in
>> > place.
>> > > Of
>> > > > > > course I can't be of much help with Sonar itself if its not
>> > properly
>> > > > > setup
>> > > > > > in Jenkins, since in my case it was already installed and used
>> by
>> > the
>> > > > > > development team for other measurements.
>> > > > > >
>> > > > > > Regards,
>> > > > > > Adrian S
>> > > > > >
>> > > > > > On Wed, Mar 20, 2013 at 7:11 PM, Niraj <
>> [email protected]>
>> > > > wrote:
>> > > > > >
>> > > > > > > Do I need to use Maven to get this work?
>> > > > > > > On Mar 20, 2013 6:08 PM, "Niraj" <[email protected]>
>> > wrote:
>> > > > > > >
>> > > > > > > > I am sorry about not adding complete details.
>> > > > > > > >
>> > > > > > > > Steps which i have followed:
>> > > > > > > >
>> > > > > > > > Downloaded Sonar JMeter plugin and copied to
>> > > > > > > > C:\sonar-3.5\extensions\plugins .
>> > > > > > > > I ran the JMeter test and got the .jtl file.
>> > > > > > > > Added path of .jtl file to Settings->JMeter->Remote Server
>> host
>> > > > > (Remote
>> > > > > > > > jmeter report server host, used for getting remote results
>> if
>> > no
>> > > > > local
>> > > > > > > jtl
>> > > > > > > > file is defined.)
>> > > > > > > > Restarted Sonar.
>> > > > > > > > But i am not able see anything under projects.
>> > > > > > > >
>> > > > > > > > Am i missing something?
>> > > > > > > >
>> > > > > > > > On Wed, Mar 20, 2013 at 5:56 PM, <[email protected]>
>> > > wrote:
>> > > > > > > >
>> > > > > > > >> Niraj <[email protected]> wrote on 03/20/2013
>> 07:23:52
>> > > AM:
>> > > > > > > >>
>> > > > > > > >> > From: Niraj <[email protected]>
>> > > > > > > >> > To: JMeter Users List <[email protected]>
>> > > > > > > >> > Date: 03/20/2013 07:24 AM
>> > > > > > > >> > Subject: JMeter Plugin with Sonar
>> > > > > > > >> >
>> > > > > > > >> > Hello All,
>> > > > > > > >> >
>> > > > > > > >> > Anyone tried JMeter plugin with Sonar?
>> > > > > > > >> >
>> > > > > > > >> > http://docs.codehaus.org/display/SONAR/JMeter+Plugin
>> > > > > > > >> >
>> > > > > > > >> > I am facing some issues. Some one please help me on this.
>> > > > > > > >> >
>> > > > > > > >>
>> > > > > > > >> If you want help, you'll need to describe the problem,
>> > describe
>> > > > what
>> > > > > > you
>> > > > > > > >> tried to fix it etc.
>> > > > > > > >>
>> > > > > > > >> http://www.catb.org/esr/faqs/smart-questions.html
>> > > > > > > >>
>> > > > > > > >> > Thanks,
>> > > > > > > >> > Niraj
>> > > > > > > >> >
>> > > > > > > >> > --
>> > > > > > > >> > This message has been scanned for viruses and dangerous
>> > > content,
>> > > > > > > >> > and is believed to be clean.
>> > > > > > > >> >   Message id: 5CED4600A39.A91D9
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >>
>> > > > > > > >> This communication and any attachments are confidential,
>> > > protected
>> > > > > by
>> > > > > > > >> Communications Privacy Act 18 USCS § 2510, solely for the
>> use
>> > of
>> > > > the
>> > > > > > > >> intended recipient, and may contain legally privileged
>> > material.
>> > > > If
>> > > > > > you
>> > > > > > > are
>> > > > > > > >> not the intended recipient, please return or destroy it
>> > > > immediately.
>> > > > > > > Thank
>> > > > > > > >> you.
>> > > > > > > >>
>> > > > > > > >>
>> > > > >
>> ---------------------------------------------------------------------
>> > > > > > > >> To unsubscribe, e-mail: [email protected]
>> > > > > > > >> For additional commands, e-mail:
>> [email protected]
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>
>

Reply via email to