Forum Discussion

algorithmComp33's avatar
algorithmComp33
Occasional Contributor
15 years ago

Table Log is Disabled for Distributed Load Testing

Hello,

I have installed a Windows XP Virtual Machine on my computer and I have successfully distributed my testcase to the Virtual Machine (acting as my agent). I was also able to successfully run the loadui runner on the Virtual Machine and complete the load test successfully.

However, I have an errors table log (connected to the second to rightmost terminal on my soapui runner) that does not display anything while the load test is running on the agent. In response, I configured a log file in the settings dialog of that table log hoping that the table log would write the errors output from the soapui runner to a log file on my agent, however, that was not the case. Whenever I specify a log file path in the settings dialog, the soapUI runner responds with the following warning:

WARN [Table Log] The log file path was not properly specified, use the default path instead, [C:\Documents and Settings\Administrator\.loadui\logs\table-log\ErrorTableLog].

The log file path I currently have in the table log settings dialog is C:\Documents and Settings\Administrator\.loadui\logs\table-log\ErrorTableLog.csv
I really do not understand what I am doing wrong with the log file path, I have tried so many different paths but still recieve the same warning above.
( I have also tried C:\Documents and Settings\Administrator\.loadui\logs\table-log\ErrorTableLog and have enabled the table log for the agents.
Whenever I click on the table-log folder in the C:\Documents and Settings\Administrator\.loadui\logs directory, the folder is empty; in theory, the folder should contain a csv file recording table log errors for each testcase run.

When running my test case in local mode, the table log in loadui can dynamically generate a new log file each time the testcase has been run and the
log file can be found in the path I had set in the table log settings dialog, C:\Documents and Settings\nbreen\.loadui\logs\table-log\ErrorTableLog.csv, where nbreen is my username.

I am using loadui 1.5

Can someone please help me specify the correct log file path or help me get a log file written for my agent? I have spent hours and hours struggling with this issue and I need to immediately get to loadtesting.

Thank you so much. I would tremendously appreciate it.

5 Replies

  • algorithmComp33 wrote:
    However, I have an errors table log (connected to the second to rightmost terminal on my soapui runner) that does not display anything while the load test is running on the agent. In response, [...]

    First of all. Have you tried checking the checkbox in the image below?



    Regards

    Henrik
    eviware.com
  • algorithmComp33's avatar
    algorithmComp33
    Occasional Contributor
    Hello Henrik,

    Yes, I have already checked the "Enable in distributed mode" checkbox in the table log, but have still failed to get the table log to write to the
    configured log file path.
  • algorithmComp33 wrote:
    Hello Henrik,

    Yes, I have already checked the "Enable in distributed mode" checkbox in the table log, but have still failed to get the table log to write to the
    configured log file path.

    Ok.

    Is it the field below that you are trying to specify the file path in? If so, please note that the path should be relative to the loadUI home folder (as opposed to an absolute path). Read about the differences between absolute and relative paths in this Wikipedia article.

    Does that solve the problem?

    Henrik
    eviware
  • algorithmComp33's avatar
    algorithmComp33
    Occasional Contributor
    The relative paths I specified for both my statistic table log and error table log were:

    \.loadui\logs\table-log\ErrorTableLog.csv
    \.loadui\logs\table-log\StatisticTableLog.csv

    However, I was only able to see my StatisticTableLog.csv file but not my ErrorTableLog.csv file.

    I also tried the following paths, but once again I was only able to see my StatisticsTableLog.csv file:

    .loadui\logs\table-log\ErrorTableLog.csv
    .loadui\logs\table-log\StatisticTableLog.csv

    I found the StatisticTableLog.csv file on my computer with the loadui controller, not the computer with the agent.

    Are these relative paths correct or could you specify a path for my ErrorTableLog.csv ?
  • algorithmComp33's avatar
    algorithmComp33
    Occasional Contributor
    Yes, the field that I am trying to specify the log file path in is the field under the description: "Log File (Comma separated, relative to loadUI home dir).

    I can get my StatisticTableLog, AvgResponseTableLog, but I cannot get my ErrorTableLog from the soapUI runner.