Category Archives: tests

Solr With Scala : Basic Introduction to Embedded Solr


Hello Folks, As we discussed earlier Solr with Scala and AkkaHttp in our last blog we have used Solr as a service and tried to hit solr service with the AkkaHttp and spray routes. Here is the link for the … Continue reading

Posted in akka-http, Scala, scalatest, testing, tests | Tagged , , , , , | 2 Comments

Blending Cucumber, Cassandra and Akka-Http


Folks, Knoldus has always pioneered the deep diving into the best ways to use cutting edge technologies. In the past few days, one of our team carried this deed by integrating Cucumber with Akka-Http, Cassandra and of course, Scala. In … Continue reading

Posted in Akka, akka-http, Cassandra, Cucumber, database, knoldus, sbt, Scala, scalatest, Test, testing, tests | Tagged | 6 Comments

Testing Rejection Handling in Akka-Http


In my previous blog, I discussed how to handle rejections in Akka Http. You may find it here. We left it on terms to explain the testing of it later. Keeping the promise 😉 In this blog, we will learn … Continue reading

Posted in Akka, akka-http, Scala, Test, testing, tests | 2 Comments

Upgrading to Selenium 3 with Gecko Driver


In this blog I will be discussing about the latest version of selenium i.e Selenium 3 . To use selenium 3 , we need Gecko driver to run the test cases in Mozilla browser. So,the first question that arises in … Continue reading

Posted in Java, JavaScript, sbt, Test, testing, tests, Web, web application | Tagged , , , , | Leave a comment

Mocking Mail API in Scala


Few days ago I was working on a Mailing API of my project and used javax-mail API but encountered the problem of how to write unit test cases for that without actually mocking the mail. I searched for it but was unable … Continue reading

Posted in Scala, scalatest, Test, testing, tests | Tagged , , | 1 Comment

Testing grammar using ANTLR4 TestRig (Grun)


“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” –Martin Golding Quotes like above tell us the importance of testing the modules that we develop. Testing for … Continue reading

Posted in ANTLR4, Scala, Test, testing, tests | Tagged , , , , , | Leave a comment

Integration Test Configuration in Play Framework


A few days ago I’ve come across a problem while writing integration testing of my play application. My need was like to run unit and Integration test separately, in a normal sbt project, it’s easy to configure it, but I couldn’t find … Continue reading

Posted in Integration testing in play framework, Play Framework, Scala, Test, testing, tests | 1 Comment

How To Handle CSRF Token in Jmeter


What is CSRF– CSRF  stands for Cross-Site Request Forgery. Generally when we login in website it always ask for authentication. For the security point of view developer mostly time pass the csrftoken with login parameter. but our topic is how … Continue reading

Posted in CSRF Token Protected, LoadTesting, Scala, Test, testing, tests | Tagged , , , | 8 Comments

Customized Response Time in Gatling Report


Gatling is a highly capable load testing tool which gives high performance. Some times we face problem in customization response time for our application. In this Blog we will analyse how can we customize response time in Gatling. In Global … Continue reading

Posted in gatling, LoadTesting, Scala, Test, testing, tests | Tagged , , , , , | 1 Comment

TestNG


TestNG is a testing framework which is inspired by junit. TestNG is the latest framework of selenium. it gives to complete freedom to write the testcases in group or dependent to the other method. NG  stand for ‘NEXT GENERATION’. testing … Continue reading

Posted in Scala, Test, testing, tests | Tagged , , | 1 Comment