<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Show logs of executed test cases in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Show-logs-of-executed-test-cases/m-p/2202649#M4268</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;im working on TestCases and I wonder how to print out or view logs in the executed TestCase. The problem is that if i run the test case just by executing it, everything works fine. If I run the test case as in "Test Cases" window, select the instance and "run Instance" I sometimes get unexpected errors but I have no output logs to look at it at all.&lt;/P&gt; 
&lt;P&gt;Even if I create a filelogger with log4j (which will be filled under regular terms if it was not a test case) it stays empty when I run the TestCase.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job-test-case-output.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M72F.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141283iC505D09E821DD3BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M72F.png" alt="0683p000009M72F.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The only output I get is:&lt;/P&gt; 
&lt;PRE&gt;java.lang.AssertionError: 
Failure=1
tAssert_1:File from reference differs from input

	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at dl.test_0_4.db_init_tmap_0_1.db_init_COMPTEST_tMapTest.testDefault(db_init_COMPTEST_tMapTest.java:4262)&lt;/PRE&gt; 
&lt;P&gt;But there should be a lot of more outputs to look at. Where are they?&lt;/P&gt; 
&lt;P&gt;I would expect to see something like:&lt;/P&gt; 
&lt;PRE&gt;..&lt;BR /&gt;[INFO ]: 2019-08-20 09:10:46.036: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tLogRow_1 - Printed row count: 10.
[DEBUG]: 2019-08-20 09:10:46.036: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tLogRow_1 - Done.
[DEBUG]: 2019-08-20 09:10:46.039: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileOutputDelimited_1 - Written records count: 10 .
[DEBUG]: 2019-08-20 09:10:46.039: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileOutputDelimited_1 - Done.
[DEBUG]: 2019-08-20 09:10:46.039: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileCompare_1 - Start to work.
[DEBUG]: 2019-08-20 09:10:46.040: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileCompare_1 - Parameters:COMPARISON_MODE = TEXT_CMP | FILE = ((String)globalMap.get("tCreateTemporaryFile_1_FILEPATH")) | FILE_REF = context.referenceData | DIFFER_MESSAGE = "[job " + jobName + "] Files differ" | NO_DIFFER_MESSAGE = "[job " + jobName + "] Files are identical" | PRINT = true | ENCODING = "ISO-8859-15" | 
[job init_COMPTEST_tMap] Files are identical
[INFO ]: 2019-08-20 09:10:46.041: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileCompare_1 - Compare result : [job init_COMPTEST_tMap] Files are identical.
[DEBUG]: 2019-08-20 09:10:46.041: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileCompare_1 - Done.
122 milliseconds&lt;/PRE&gt; 
&lt;P&gt;Do you have any idea where to find the logs?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Cheers,&lt;/P&gt; 
&lt;P&gt;TT&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:55:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:55:08Z</dc:date>
    <item>
      <title>Show logs of executed test cases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Show-logs-of-executed-test-cases/m-p/2202649#M4268</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;im working on TestCases and I wonder how to print out or view logs in the executed TestCase. The problem is that if i run the test case just by executing it, everything works fine. If I run the test case as in "Test Cases" window, select the instance and "run Instance" I sometimes get unexpected errors but I have no output logs to look at it at all.&lt;/P&gt; 
&lt;P&gt;Even if I create a filelogger with log4j (which will be filled under regular terms if it was not a test case) it stays empty when I run the TestCase.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job-test-case-output.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M72F.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141283iC505D09E821DD3BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M72F.png" alt="0683p000009M72F.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The only output I get is:&lt;/P&gt; 
&lt;PRE&gt;java.lang.AssertionError: 
Failure=1
tAssert_1:File from reference differs from input

	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at dl.test_0_4.db_init_tmap_0_1.db_init_COMPTEST_tMapTest.testDefault(db_init_COMPTEST_tMapTest.java:4262)&lt;/PRE&gt; 
&lt;P&gt;But there should be a lot of more outputs to look at. Where are they?&lt;/P&gt; 
&lt;P&gt;I would expect to see something like:&lt;/P&gt; 
&lt;PRE&gt;..&lt;BR /&gt;[INFO ]: 2019-08-20 09:10:46.036: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tLogRow_1 - Printed row count: 10.
[DEBUG]: 2019-08-20 09:10:46.036: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tLogRow_1 - Done.
[DEBUG]: 2019-08-20 09:10:46.039: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileOutputDelimited_1 - Written records count: 10 .
[DEBUG]: 2019-08-20 09:10:46.039: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileOutputDelimited_1 - Done.
[DEBUG]: 2019-08-20 09:10:46.039: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileCompare_1 - Start to work.
[DEBUG]: 2019-08-20 09:10:46.040: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileCompare_1 - Parameters:COMPARISON_MODE = TEXT_CMP | FILE = ((String)globalMap.get("tCreateTemporaryFile_1_FILEPATH")) | FILE_REF = context.referenceData | DIFFER_MESSAGE = "[job " + jobName + "] Files differ" | NO_DIFFER_MESSAGE = "[job " + jobName + "] Files are identical" | PRINT = true | ENCODING = "ISO-8859-15" | 
[job init_COMPTEST_tMap] Files are identical
[INFO ]: 2019-08-20 09:10:46.041: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileCompare_1 - Compare result : [job init_COMPTEST_tMap] Files are identical.
[DEBUG]: 2019-08-20 09:10:46.041: dl.init_comptest_0_4.init_tmap_0_1.init_COMPTEST_tMapTest - tFileCompare_1 - Done.
122 milliseconds&lt;/PRE&gt; 
&lt;P&gt;Do you have any idea where to find the logs?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Cheers,&lt;/P&gt; 
&lt;P&gt;TT&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Show-logs-of-executed-test-cases/m-p/2202649#M4268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Show logs of executed test cases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Show-logs-of-executed-test-cases/m-p/2202650#M4269</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Are you able to find your files for test history are created in the path.&lt;BR /&gt;[workspace]\[projects]\tests\jobs\_xxxxxxxxxxxxxxxx\history_xxxxxxx_0.1?&lt;/P&gt;
&lt;P&gt;Please check lastGenerated.log in [workspace]\.Java&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2019 10:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Show-logs-of-executed-test-cases/m-p/2202650#M4269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-28T10:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Show logs of executed test cases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Show-logs-of-executed-test-cases/m-p/2202651#M4270</link>
      <description>&lt;P&gt;I checked those folders and even directed the log4j output to a file which is choose myself. Unfortuantely I did not found anything. When I run regular jobs, everything is logging correctly though.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 13:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Show-logs-of-executed-test-cases/m-p/2202651#M4270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-25T13:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Show logs of executed test cases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Show-logs-of-executed-test-cases/m-p/2202652#M4271</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Make sure you are using JDK instead of JRE and the workspace path is not too long.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 09:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Show-logs-of-executed-test-cases/m-p/2202652#M4271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-28T09:05:25Z</dc:date>
    </item>
  </channel>
</rss>

