Integration of parasoft soatest with pymongo
Comments
-
What error do you see when trying to connect with mongo db using query tool?
You may see the same errors when you will use pymongo.
Pymongo is a module for python, so you should be able to use python scripts in Extension Tool.I just checked MongoDb Query Tool from maketplace.parasoft.com and it works as expected:
0 -
using mongo db query tool am able to connect to other databases, but am not able to connect to one particular database because it should accept ssl invalid certificates, I don't know where to give this option.
0 -
I am getting authentication failed while connecting but am able to connect to mongo using cmd.
0 -
Regarding pymongo module, am trying to add egg files but am not getting a way to do it.
0 -
but am not able to connect to one particular database because it should accept ssl invalid certificates
The MongoDB Query Tool is configured to trust all SSL certificates. Aside from making sure you have the "Use SSL" field set to true, it would be helpful if you could share the error with us. Without having more information, the only other thing that might affect SSL is that Java disables some insecure security algorithms by default. You can configure this in the java.security file (for example, C:\Program Files\Parasoft\Test\9.10 for SOAtest & Virtualize\plugins\com.parasoft.xtest.jdk.eclipse.core.win32.x86_64_1.8.0.102\jdk\jre\lib\security\java.security). In particular, there is jdk.tls.disabledAlgorithms and jdk.certpath.disabledAlgorithms properties which you could try commenting out. However, it is hard to say exactly what you should do without knowing what error you are getting.
0