12 Replies Latest reply: Feb 9, 2015 2:17 AM by Sebastian Fredenberg RSS

    How to see other logs except jmeter logs  ??

    Nikhil Garg

      Hey,

      While doing stress testing , i follow each step in prerequisite but i only get , Jmeter Logs and no other logs are there.

      How can i see other logs???

       

      tHnaks

        • Re: How to see other logs except jmeter logs  ??
          Martin Mahler

          You need to set up your target machine to start logging system metrics as per documentation.

          Furthermore, your other required logs are the QlikView Server legs which should be available?!

            • Re: How to see other logs except jmeter logs  ??
              Nikhil Garg

              Hey,

              I ahvve set up my machine as described.

              I created data collector. Start it.

              I enable all logs in QMC.

              QVS and QVWS are both running as seen in QMC window(Status is running.)

               

              Now when i started executing my test , i only get Jmeter logs and no other logs.

              Can you plz help me where am i missing or what should i do ??

              Where are other log files placed??

               

              Thnaks

                • Re: How to see other logs except jmeter logs  ??
                  Martin Mahler


                  The QVS logs as well as the data collector are both running all the time, regardless if you execute your test or not.

                   

                  You need to search for your QVS logs and the data collection file seperately - if you set it up as described then you also specified where these logs should be stored.

                    • Re: How to see other logs except jmeter logs  ??
                      Nikhil Garg

                      Hey,

                      THanks for reminding me where i was lacking .

                      Now i get Events and Performance Logs. But not Session Logs. How to get that ??

                       

                      Thanks

                      • Re: How to see other logs except jmeter logs  ??
                        Nikhil Garg

                        hey,

                        I am confused between the following log files:

                         

                        PerformanceLogs and Logs cretaed for data collector set. In which folder to place these logs ??

                        Which files to fill in Server Logs and Session logs folder  ??

                         

                         

                        THaks

                          • Re: How to see other logs except jmeter logs  ??
                            Martin Mahler

                            Here's a snip of your QMC (Management Console). Under System -> Setup -> Logging you need to activate session logging. Log Folder is where all your log files are stored.

                             

                            logging.PNG

                              • Re: How to see other logs except jmeter logs  ??
                                Nikhil Garg

                                Hey,

                                While doing Stress Testing with QV Scalability Tool , i am facing 3 problems:

                                 

                                1:  I have enabled Session logging in QMC in the same way u have attached but no session log file created in specified folder. What can we do in this?

                                 

                                2: I have created a test scenario(with 20 virtual users) and created Qvd's and analysed it. But when i change value from 20 to 50 Virtual Users , and put the corresponding log files in folders and just reload the SC_result.qvw . it is giving me old result of 20 virtual users and not of newly scenario. What is the issue??

                                 

                                3: In test scenario, after Open Document , i have placed a Test Loop(with different selections) and then second Test Loop(with different selection). But qvd's are created for only first Test Loop and not for second. What sit he issue ??

                                 

                                 

                                Thanks

                                  • Re: How to see other logs except jmeter logs  ??
                                    Martin Mahler

                                    1. Perform a windows search - not sure why it's missing in your case

                                    2. You need to recreate the QVD files. SC_result.qvw does not read from the log files directly, but from the created QVD files

                                    3. Not sure exactly why it's missing - possibly same as 2

                                      • Re: How to see other logs except jmeter logs  ??
                                        Nikhil Garg

                                        Hey,

                                        Thanx. But tell me one thing.

                                        Let say i created 2 test scenario..

                                        1: 10 virtual users

                                        2: 30 virtual users.

                                         

                                        Now there will be 2 log files for each, event log, session log and server

                                        log. Now i have 2 qstns:

                                        1: To get dashboard for newly test scenario, i need to recreate qvd's . So

                                        should i delete previous logs files so that i don't get any wrong results

                                        or keeping them will also work fine.

                                         

                                        2: If i have created 2 test scenarios and want to analyse both scenario

                                        qvw's then how can i do so becoz every tym new qvd's are formed. Plz advice.

                                         

                                        Thanks.

                                      • Re: How to see other logs except jmeter logs  ??
                                        Sebastian Fredenberg

                                        Hi,

                                         

                                        I agree with Martin with some additional notes:

                                         

                                        1. One reason could be that no succesful session have been created on that machine so verify that you can access the app and get a session by going in manually with a browser first. If this works and no sessionlog, I would go through the settings again.

                                         

                                        3. If you are able to get a jmeterlog, and then create a qvd from that, then all actions in the script will be present. A probable cause for not logging it could be if the second test loop is created within the first - which is not recommended. Also note that there are several things to consider if you use testloops within the script. There are limits in how the script can look like when using those and and I would advice against using them if they are not needed.

                                          • Re: How to see other logs except jmeter logs  ??
                                            Nikhil Garg

                                            Hey,

                                            Thanx. But tell me one thing.

                                            Let say i created 2 test scenario..

                                            1: 10 virtual users

                                            2: 30 virtual users.

                                             

                                            Now there will be 2 log files for each, event log, session log and server

                                            log. Now i have 2 qstns:

                                            1: To get dashboard for newly test scenario, i need to recreate qvd's . So

                                            should i delete previous logs files so that i don't get any wrong results

                                            or keeping them will also work fine.

                                             

                                            2: If i have created 2 test scenarios and want to analyse both scenario

                                            qvw's then how can i do so becoz every tym new qvd's are formed. Plz advice.

                                             

                                            Thanks.

                                            On 06-Feb-2015 8:53 PM, "Sebastian Fredenberg" <qcwebmaster@qlikview.com>

                                              • Re: How to see other logs except jmeter logs  ??
                                                Sebastian Fredenberg

                                                By regenerating qvds, it is rather that more data is read into the existing qvd:s. You can read several tests results into the analysis app, but if the filenames of the logfiles are the same as existing ones then the old results will be overwritten. With the downloaded scalability tools package there is a "Demotest" folder and results qvw that does contain several tests within the same analyzer.


                                                So unless something is wrong you should not delete old files, but if you use the same name for files with different content it will use the latest.