REQUEST A DEMO

Tag: testing

How to Quickly Test Dovetail Carrier Messages

October 24, 2017 A common workflow is to have a business rule fire, and that business rule will send Dovetail Carrier a message. For example, when a customer updates a case via SelfService, we can have a business rule fire that sends an SDK Toolkit message to Carrier, and Carrier will change the case status to "Customer Update". Complete end-to-end Testing When I'm putting this all together, and testing it out, a full integration test would be to log into SelfService, and log a note to a case. That would cause Rulemanager to fire a business rule which would send the message to Carrier, then Carrier can do its thing. So I have multiple apps in play here: Dovetail Agent, for setting up the business rule Dovetail SelfService, which is how the customer updates a case Dovetail Rulemanager, which processes the business rule…

Web testing using Canopy

March 26, 2014 With Dovetail Agent 5 and SelfService 2, we’re using Canopy for acceptance testing. We even ship our test suites with the app, so if you customize/extend the application, you can run the tests to be sure you didn’t break anything, and you can add in your own tests for any custom functionality. So far, Canopy has proved itself to be the nicest web testing framework we’ve used – it’s simple and stable. Scott Hansleman recently kicked out a nice blog post talking about canopy and the F# language. In it, he provides some links to playing with F# and a simple Canopy example. Great stuff! So check out the tutorials that Scott links to, and then for our Dovetail Agent and SelfService customers – be sure to download the latest versions of those apps and check out the tests in…

Basic Web Application Loading With JMeter

October 23, 2009 I needed to load test one of our web applications today. Load testing is not something I am too familiar with. A search turned up a list of open source load testing tools. At the top of the list wasApache JMeter which I decided to gave a shot based on the awesomeness of the Apache project. I am not quite blown away but I was able to get a load test up and going in about 15 minutes which makes me very very happy. Here is what I did to create a load tester for our Dovetail Seeker web search service. Get It   Download JMeter Extract it to a directory and run the .\bin\jmeter.bat batch file. You’ll likely need Java installed for this to work. Now weren’t you afraid after seeing Apache that some horrible text file would need to be edited? Thankfully this is…

Getting WebDev.WebHost to work on 64 bit Windows

October 2, 2008 In the past I wrote on how we are doing integration testing of a web services using the WebDev.WebHost assembly. This technique has found its way into Dovetail Seeker and is really handy to do an end to end test against a live web server. I ran into trouble running the tests now that I am running a 64bit OS.   You get this error when trying to spin up the test web server:   An attempt was made to load a program with an incorrect format.   It turns out the WebDev.WebHost assembly is flagged as a 32bit which forces it to be run only within a 32bit version of the framework. In my build automation nunitconsole.exe is the test runner and it is likely flagged as Any CPU and thus running in 64bit mode by default. After checking out Scott Hanselman’s post…

Unit Testing a Web Service

November 7, 2007 Dovetail sells a web services for Clarify product that consists of a SOAP flavored web service and a handy client library. To make sure all is continuously well we have NUnit integration tests that exercise the client library making calls against the web service. Our first iteration of the testing the web service involved launching Cassini and then later the development web server that comes with Visual Studio 2005 to host our web service under test. The configuring and launching of this process (WebDev.WebServer2.exe) has  been fragile and prone to failure. Yesterday while setting up a new integration server I flailed for an hour trying to get the web server running. My defeat turned into victory after I found Phil Haack's post on Using WebServer.WebDev For Unit Tests which taught me how remove our dependency on the executable web server…