Skip to Content
0

JMeter bttoken issue in BI 4.2 SP3

Jan 18, 2017 at 05:16 PM

273

avatar image
Former Member

Hi,

We are currently trying to do some performance and load testing on BusinessObjects BI 4.2 SP3 Patch 3.

We are using Apache JMeter. I have followed the following Blog post by James Rapp and also referred to a number of other sources for info:

https://archive.sap.com/documents/docs/DOC-45507

I am having the same issue that another user outlines, whereby the bttoken variable is not being captured (see the last comment of this blog). See image below:

Does anyone know if the regex for BI 4.2 has changed from either:

bttoken=(.+?)

or

name="bttoken" value="(.+?)"

I have tried both of these with no success.

If anyone has experience of JMeter with BI4.2 or you can spot anything wrong with the above logic then your help would be hugely appreciated.

Cheers!

Dave

sap-issue2.jpg (126.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

avatar image
Former Member Sep 25, 2017 at 07:56 AM
0

I've the same problem in the same SAP BI version . Please Help us !

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 24, 2017 at 04:40 PM
0

I have the same issue; please keep me informed if you have any informations

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 26, 2017 at 12:11 PM
0

First of all, you need to co-related the value of portal_id from the first request (it is required for 4.1 or above):

GET: http://mo-be79c2c97.mo.sap.corp:8080/BOE/BI

And use saved the portal_id in subsequent calls:

http://mo-be79c2c97.mo.sap.corp:8080/BOE/portal/${portal_id_g0}/InfoView/logon.faces

Then extract sun.faces.VIEW:

Pass the extracted sun.faces.VIEW value in the list of parameters where username and password are being passed:

Extract Bttoken value from the response of the above call:

Use the extracted bttoken as shown in the below snapshot:

Cheers,

Rahul Vats


Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hello. I have successfully used this workflow to get jMeter to work with BI4.2 SP5 on Windows Tomcat. All good. However; when i "split" my deployment for load balancing and place Apache HTTP server in front of Tomcat using jk_mod; this does not work. At first the login works and i get logged in, get a bttoken and first "portal_id" (Apache) but then when i open the Webi report (inn Tomcat side) it seems to be loosing the id..

See below and attached test.jmx plan. Notice how it goes from "/portal/1805090649" (apache) to "portal/0" which i take it to be Tomcat. But at this point the test plan fails. I've tried to re-extract the portal_id at the #4 level, but no luck..

webi-login-repoirt-refresh-test-plan3-copy.txt

0
Former Member
0
avatar image
Former Member Mar 13 at 12:57 PM
0

Looking at the original screenshots I think....HTTP Cookie Manager (config element) is not included.

P.S I was able to make Jmeter run on BI 4.2 SP3

Thanks

Guruprasad

Share
10 |10000 characters needed characters left characters exceeded