<?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 Can't set Test Case input body in normal execution in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Can-t-set-Test-Case-input-body-in-normal-execution/m-p/2325485#M95075</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on test cases and I am currently using a mock component with a processor which creates the input data for the test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run the test case as in the "Test Cases" window the test runs correctly as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that if I use the normal execution, the input data is never loaded. It appears as if the mock1 component is never run at all. How can I set the input when using the normal execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To better explain the problem, I have created an extremely simple test case:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BXUo3AAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155594iB9A9B5F307B43286/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BXUo3AAH.png" alt="0693p00000BXUo3AAH.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cMock_1 is simulated by the cProcessor_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cProcessor_1 just sets the body to the String “example”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cLog prints the message body&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cMock_2 checks the string is “example”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running this in the “Test Cases” window, the test passes as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running this in the normal execution environment, the cLog component prints an empty body.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug or am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:37:46 GMT</pubDate>
    <dc:creator>ddpozo</dc:creator>
    <dc:date>2024-11-16T00:37:46Z</dc:date>
    <item>
      <title>Can't set Test Case input body in normal execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Can-t-set-Test-Case-input-body-in-normal-execution/m-p/2325485#M95075</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on test cases and I am currently using a mock component with a processor which creates the input data for the test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run the test case as in the "Test Cases" window the test runs correctly as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that if I use the normal execution, the input data is never loaded. It appears as if the mock1 component is never run at all. How can I set the input when using the normal execution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To better explain the problem, I have created an extremely simple test case:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000BXUo3AAH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155594iB9A9B5F307B43286/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000BXUo3AAH.png" alt="0693p00000BXUo3AAH.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cMock_1 is simulated by the cProcessor_1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cProcessor_1 just sets the body to the String “example”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cLog prints the message body&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cMock_2 checks the string is “example”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running this in the “Test Cases” window, the test passes as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running this in the normal execution environment, the cLog component prints an empty body.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug or am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Can-t-set-Test-Case-input-body-in-normal-execution/m-p/2325485#M95075</guid>
      <dc:creator>ddpozo</dc:creator>
      <dc:date>2024-11-16T00:37:46Z</dc:date>
    </item>
  </channel>
</rss>

