techmythoughts.blogspot.com
Learning bLog: October 2011
http://techmythoughts.blogspot.com/2011_10_01_archive.html
Some#random('thoughts'); / technical, non technical. Sunday, October 9, 2011. Not 10, but 6 things about jMeter. I list down some "good to know" things about jMeter. Hope it helps you while considering the jMeter scripts design, development and execution. Its open source Java tool for functional and load testing. Can be "extended" to create new sampler, controller etc. The same site also got one XSLT for transforming your JTL (jMeter log of sript execution) to HTML report. Links to this post. Basics of W...
techmythoughts.blogspot.com
Learning bLog: Code Kata - good way to learn new language
http://techmythoughts.blogspot.com/2013/06/code-kata-good-way-of-learning-your.html
Some#random('thoughts'); / technical, non technical. Wednesday, June 12, 2013. Code Kata - good way to learn new language. Recently, I started exploring and learning Scala and functional programming. So far, it is a good experience and as a programmer gives you new "functional" thought process about problem. The best way to learn Scala or any language for that matter is to start writing Katas in that language. Coding Kata, if you're not familiar with it then must visit codingdojo.org.
techmythoughts.blogspot.com
Learning bLog: December 2011
http://techmythoughts.blogspot.com/2011_12_01_archive.html
Some#random('thoughts'); / technical, non technical. Thursday, December 8, 2011. PIT Tests, a Mutation Testing. While wondering over internet, I just come across the "mutation testing" and here I blog about it. The blog largely said about one such framework " PIT tests. When we say my code coverage is 80%, that only mean, in simple term, your unit tests cover 80% of your code base. Do they really tell you what your tests are really testing? How does it work? The simplest example might be,. And tests are ...
techmythoughts.blogspot.com
Learning bLog: February 2014
http://techmythoughts.blogspot.com/2014_02_01_archive.html
Some#random('thoughts'); / technical, non technical. Saturday, February 22, 2014. Again writing fast and maintainable integration tests using in-memory db, liquibase, gradle and spring mvc test. This blog is improvisation to previously blogged testing effectively with database blog. In this blog we will remove the jetty setup and instead use Spring MVC Test. Create the HSQLDB in-memory instance (instantiating datasource instance). And run Liquibase scripts against them. (using Spring Lqiuibase. Configure...
techmythoughts.blogspot.com
Learning bLog: August 2012
http://techmythoughts.blogspot.com/2012_08_01_archive.html
Some#random('thoughts'); / technical, non technical. Monday, August 20, 2012. Tests your logs using logback. You want to test what your application logging and you don't know how to do that in simplest manner, well we've logback to rescue. (If your using slf4j but with other than logback as a implementation, then you have to add logback as a test dependency with logback.xml in src/test/resources). Here is the actual code-. 1 Create a base test class for log testing. Public abstract class BaseLoggerTest {...
techmythoughts.blogspot.com
Learning bLog: March 2012
http://techmythoughts.blogspot.com/2012_03_01_archive.html
Some#random('thoughts'); / technical, non technical. Saturday, March 10, 2012. How to test objects equality if they don't implement Object#equals(). Problem: There are cases when you want to test whether two objects are equal, mean did they contain same state or not? This occurs mostly when you're trying to test JAXB generated beans or any VO/DTO which doesn’t' implement Object#equals() method or/and whose source code you can't modify . Import org.mockito.internal.matchers.apachecommons&#...Sagar [dot] r...
techmythoughts.blogspot.com
Learning bLog: June 2011
http://techmythoughts.blogspot.com/2011_06_01_archive.html
Some#random('thoughts'); / technical, non technical. Saturday, June 4, 2011. VM arguments in spring context. In case you trying to access the VM arguments in spring application context, then just add the below bean definition in context file:. Bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" property name="ignoreUnresolvablePlaceholders" value="true" /property /bean. Links to this post. Subscribe to: Posts (Atom). Software Engineer working at TomTom India, Pune.
techmythoughts.blogspot.com
Learning bLog: Writing fast & maintainable integration tests using test double, in-memory db, jetty, maven and spring
http://techmythoughts.blogspot.com/2013/06/writing-fast-maintainable-integration.html
Some#random('thoughts'); / technical, non technical. Thursday, June 13, 2013. Writing fast and maintainable integration tests using test double, in-memory db, jetty, maven and spring. Writing an integration test which test end to end flow of your application can become cumbersome activity if you really hitting real db and services. The best way to mock, test double your external dependencies and thus speed up your test execution. POM - Configure jetty for deploying your app and running tests against it.
techmythoughts.blogspot.com
Learning bLog: August 2010
http://techmythoughts.blogspot.com/2010_08_01_archive.html
Some#random('thoughts'); / technical, non technical. Saturday, August 7, 2010. GlassFish V3 admin console taking too much time to load. If you have installed Glassfish V3 and trying to load admin console, but after signing in, is it taking too much time to get to the main page? Do you have server.log entry like this:. Cannot refresh Catalog : Connection timed out. Then its time to tweak some files. Here its how:. 1 Update the %GLASSFISH HOME/glassfish/domains/domain1/domain.xml. 2 Remove update tool jar.