Hi,

I am trying to use maxq to test a webserver that will be used for my research. While I use the start recording and browse the site, I don't see anything in the browser and in the recorded script it is shown as:

self.msg("Testing URL: %s" % self.replaceURL('''http://server:8080/petstore/faces/catalog.jsp?catid=Dogs'''))
        url = "http://server:8080/petstore/faces/catalog.jsp"
        Validator.validateRequest(self, self.getMethod(), "get", url, params)
        self.get(url, params)
        self.msg("Response code: %s" % self.getResponseCode())
        #self.assertEquals("Assert number 2 failed", null, self.getResponseCode())


I guess the main problem is the null response it gets and I don't know why it happens. In the same test if I try amazon or google it works fine. But the same thing happens if I try yahoo. Can you tell me does maxq behaves based on how the web application is implemented?

And another interesting thing. For the same petstore application, I also have a localhost implementation. And when I try the localhost using maxq, sometimes the webpage is shown and the response code is recorded as 200 and sometimes it is the same thing as above.


        self.msg("Testing URL: %s" % self.replaceURL('''http://localhost:8080/petstore/styles.css'''))
        url = "http://localhost:8080/petstore/styles.css"
        params = None
        Validator.validateRequest(self, self.getMethod(), "get", url, params)
        self.get(url, params)
        self.msg("Response code: %s" % self.getResponseCode())
        #self.assertEquals("Assert number 5 failed", null, self.getResponseCode())
        Validator.validateResponse(self, self.getMethod(), url, params)
        self.msg("Testing URL: %s" % self.replaceURL('''http://localhost:8080/petstore/faces/static/META-INF/rss/rssbar.js'''))
        url = "http://localhost:8080/petstore/faces/static/META-INF/rss/rssbar.js"
        params = None
        Validator.validateRequest(self, self.getMethod(), "get", url, params)
        self.get(url, params)
        self.msg("Response code: %s" % self.getResponseCode())
        #self.assertEquals("Assert number 6 failed", null, self.getResponseCode())


It would be great if someone can share his idea or knowledge on this.

Thanks
Zaman