org.testng.TestException: The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " Stacktrace:

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via SpringSource Issue Tracker by Yifeng Xiao, 1 year ago
The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " Stacktrace:
via SpringSource Issue Tracker by Yifeng Xiao, 1 year ago
The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " Stacktrace:
via howtodoinjava.com by Unknown author, 1 year ago
The exception was thrown with the wrong message: expected "Pass Message test" but got "Fail Message test"
via Stack Overflow by BipinK
, 1 week ago
Expected exception com.example.common.ExecutionException but got com.example.common.ExecutionException: java.lang.RuntimeException
org.testng.TestException: The exception was thrown with the wrong message: expected ".*create failed: Can not get any resource pools.*" but got "resourcepool testrp add failed: resource pool xxxyyy is not found " Stacktrace:
at com.vmware.qe.aurora.framework.impl.cli.Cli.validate(Cli.java:298)
at com.vmware.qe.aurora.framework.impl.cli.Cli.add(Cli.java:57)
at com.vmware.qe.aurora.tests.provision.resourcepool.ProvisionResourcePoolTest.testNotExistedRpAndVcCluster(ProvisionResourcePoolTest.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.