Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Issues with APEX and Automated login testing using Jmeter

K4EApr 19 2018 — edited Apr 19 2018

Good afternoon,

APEX Version: 5.1.1

Database 12cR2

We are experiencing problems using Jmeter and automating the login procedure into a oracle apex application that has been built. The authentication being used is custom but there is no problem logging into the application in a user based environment.

We have followed this guide here but are struggling somewhat : http://krisrice.io/2017-06-29-parameterizing-jmeter-for-testing-apex/

What we are doing is as the guide suggested; grab the needed variables, going to the login page and running the log-in process. Sadly it is not successfully logging in and the application is going to an APEX error page stating that the session has expired and click here to create a new session. The error message in the apex log tables show this as much: ORA-20987: APEX - Your session has expired - Click <a href="f?p=468:1">here</a> to create a new session.

Looking at the logs it seems our Jmeter run gets a sessionID from the home page 1, navigates to login page 101 and tries to login using that sessionID obtained but is not logging in.

pastedImage_0.png

Does anyone have any experience with this tool and APEX to automate testing/login?

Thanks in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2018
Added on Apr 19 2018
1 comment
642 views