wantorp2
8 years agoOccasional Contributor
Error: Could not create the Java Virtual Machine.
Hi,
I run my api tests using testrunner.bat commands by the cmd.exe, but I always get the following error in the tests.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid maximum heap size: -Xmx
Does anyone have the same problem?
Thanks,
Best regards
Hi bpistole,
I guess the APIs, which aren't shown in the coverage report, are added from Swagger in ReadyAPI 2.2.0 or later (they are stored as-is in the project). Unfortunately, coverage isn't currently supported for such APIs. It's supported only for REST APIs, which are stored in the WADL format.
We have a corresponding item in our DB for implementing the coverage for Swagger.