Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Is there a way to connect and validate Redis data from SOA Test?

schettada
schettada Posts: 1

I have some applications that write to a Redis storage. Is there a way i can connect to Redis via SOA test to validate/view the data in it?

Answers

  • OmarR
    OmarR Posts: 233 admin

    You could could potentially use a JDBC driver for Redis to interact with SOAtest's DB Tool. There are a few JDBC drivers available for Redis that you can try, but none have been officially tested.

  • benken_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭
    edited September 2017

    My understanding of Redis is limited. I understand it is a type of NoSQL database. However, I do know that SOAtest has no built-in tool that is specialized for Redis. I also don't see one available on the Parasoft Marketplace. However, you do have some options:

    • Some NoSQL databases have JDBC drivers so that you can interact with them from Java and SQL, using SOAtest's built-in DB Tool in this context. Perhaps you can try searching online for JDBC driver for Redis. However, as a caution, third party or opensource JDBC drivers can be buggy or don't implement JDBC specification correctly, in some cases causing SOAtest to freeze or crash or run out of memory. However, if you find one that works then you can use SOAtest's DB Tool!

    • You can connect to Redis from an Extension Tool. In this case, you have to write the code yourself to communicate to Redis.

    • You could create your own Custom Tool for SOAtest that can connect to Redis. Similar to using an Extension Tool, you would still have to write code.

    • Another alternative is to use SOAtest External Tool to run an external script or command line tool that knows how to communicate with Redis to execute the desired database queries.