Best Of
Re: Is there any more detailed documentation for setting up kerberos authentication in SOAtest?
Hi. I am able to use the kinit and klist tool to successfully verify the TGT is valid and working. However, I have my custom kerb5.ini file, but am unclear where to place it.
As I mentioned, kinit requires your Kerberos config file has already been set up. It defines various things including realms and the KDC hosts for each one.
As I mentioned, the Kerberos configuration file is a krb5.ini file in your C:\Windows installation directory (or /etc/krb5.conf on Linux). That is where it goes.
Re: How to remove "Read-only"
@SamuelRobinson what Parasoft's tool do you use?
If this is general question about Excel try to find answer on Microsoft forum
Keep in mind that you could have Excel Woksheet/Workbook also set as read-only.
In such case ask your colleague to remove protection or use magic, I mean password.
There are also different ways to remove protection, however, this is not related to SOAtest tool.
--
Ireneusz Szmigiel
http://www.catb.org/esr/faqs/smart-questions.html
Re: SOATEST slowness
Do you see the problem with a new workspace? If not then issue would be specific to the particular workspace you are opening with SOAtest. Please verify you aren't keeping too many tst files open all at once. Try closing all your tst files then restarting the tool (double-click or "right-click > Close Test (.tst) File"). Please also check how many violations you have in the Quality Tasks view and try clearing those out as well.
Concerning your Writable data source, try clearing it out if there are a lot of old message accumulated in there. Also, if your Writable data source is added at the project or workspace level, try moving it inside of the tst file that is actually using it. This way, the Writable can be freed from memory when the tst file is closed and not being used.
Please verify actual heap usage reported by the JVM. Click "Window > Preferences > General > Show heap status" to check this. If the Java heap is running low then more CPU cycles are needed for the JVM to perform garbage collection, reducing performance.
You can try giving Java more memory by passing and -J-Xmx argument to soatest.exe. For example, to allow Java to allocate 4GB for its help you can run "soatest.exe -J-Xmx4G"
SOATest using old data that works. I must be using machine learning:)
This is a bit long scenario but would appreciate any info. I am new to soaTest. I am using a data source .txt file to validate postgres datatypes. I wanted to test min max and max+1 of an integer type. I have one record in the dataset. I am using a rest post. I then ran my test using the data source file with 2147483647 and the record was added to the db and a status code of 200 was returned. I then changed the value in my dataset to 2147483648 and ran the test which soaTest in Quality Tasks showed an error. Behind the scenes soaTest changed the integer value to the last know good value of 2147483647 so the test succeeded with a status code of 200 and the database record had this good value as well. I tested this situation serveral times with the same results. I then shutdown soaTest and relaunched it and ran the test with 2147483648 in the dataset and soaTest changed the value to 2147483647 again. soaTest again gave error DataSource: postgres_input_tests (row 1): Value "2147483648" from the "integerNumber" column is not
a valid int. in the Quality Tasks tab but and returned a status code of 200 because it used the last known good value. Any insights would be appreciated.
Re: Groovy script fails when context.getValue is used on response captured via JSON Data Bank
As soon as I posted the question, I found out the answer. It was happening due to the 'd' being in lowercase instead of being in uppercase in context.getValue("Generated data Source", "responseBody");
Thanks!