Is it possible to use Jmeter to functional test a web application?

rlee17
@rlee17-ez9d1V Oct 22, 2024

So I was given a list of Test Cases and to see if they would work with jmeter.

This web application runs on websphere application server.

After reading through the test cases and reading/skimming through the jmeter faq/homepage, my conclusion is NO.

Here is an example of one of the test cases:
input --- expected result
1. the user br.user logs into the application--- home page for br.user displayed
2. # of work packages should be correct --- count should match with count received
3. br.user logs off
4. cac.user logs in to app --- home page for cac.user displayed
5. # of work packages should be correct --- count should match with count received


So after reading that test case, it seems more like a functional test, rather than a performance test? I don't think jmeter can test a correct home page being shown or that a certain # should be displayed on the page, am I correct? I just need a second opinion. jmeter is a performance test that simulates for example, 100 requests to a page. is that true?

In other words, jmeter cannot execute very app-specific test cases, true or false?

thx

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • shalini_goel14

    @shalini-goel14-ASmC2J May 21, 2009

    Hi rlee7

    As far as I know, yes it is basically used to test for performance testing, means if 100 users are logging into your web application then how much time it takes to load a particular page but for functional test, test it through browser, that would be much better but you can test it in jmeter also - in "View Request Tree" you can see , Response or request(don't remember exactly tab) tab , select "View as HTML" radio option, if your web page is coming fine that means it is functionally correct, but if you want to check for any validations and submit things, Sorry it wouldn't show.

    Yes maximum it can test for only 100 users.

    PS: Please correct me is anything wrong shared.