Skip to main content

Munit:

I am getting resource not found (404) error when running multiple munit (version 4) test cases from one test-suite file. But if run them individually they run very fine.

 

I'm facing this problem specially for interface.xml mule configuration file. In this mule config, APIKIT Router has multiple error handler like APIKIT:BAD_REQUEST, APIKIT:NOT_FOUND, etc. For Munit coverage, need to write multiple test cases. those multiple cases in one test file are not running.

 

HTTP Config:

<http:request-config name="HTTP_Request_Munit_configuration" doc:name="HTTP Request configuration" doc:id="c3f254ef-d670-4cae-81dd-37eca8de05e8" basePath="/leads/v1" >

<http:request-connection host="localhost" port="8081" />

</http:request-config>

 

Any help is much appriciated.

0/9000