Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Frederic_De_Ranter

[deprecated] Qlik Hardware Benchmarking Package (Qlik Sense and QlikView)

This package is deprecated and will no longer be maintained.

The document attached outlines all required information on how to access/execute/analyze results for the Qlik Hardware Benchmarking test package.

The goal with the HW Benchmarking package is to have a unified Hardware test that can be executed for various environments with the aim to establish a matrix for comparisons on how different servers and configurations perform with QlikView and/or Qlik Sense. This package can be used for analytics on your own to perform comparisons of performance for different hardware configurations.

The document contains information on how to download additional files needed. The package supports Qlik Sense Enterprise on Windows and QlikView Server 12 or newer.

This package is deprecated and will no longer be maintained.

14 Replies
Frederic_De_Ranter
Author

Hi Sergey,

The HW BM package is now updated to fix the above tests. 

Best regards,
Frederic

kss7374
Partner - Contributor III
Partner - Contributor III

Hello, Frederic
Downloaded the updated package (v1.1), but now the problem is at the very beginning.
The client connects to the server, restarts the services, but does not go further, hangs on checking IIS (Qlik Sense Services http check Waiting for all the start-up tasks to be done... (if this keeps repeating: check if IIS is running on port 80 on the proxyServer)).
If I run the script from the old package, it normally restarts the services and starts running tests.

I started comparing the code, there are a lot of changes, there are differences, but perhaps you can tell me what the problem is? 

I tried to specify the short and full domain name of the server - but the result is the same...

PS C:\HWBM-Package> $PSVersionTable.PSVersion

Major Minor Build Revision
----- ----- ----- --------
5 1 17763 2183

PS C:\HWBM-Package> Get-ExecutionPolicy
RemoteSigned
PS C:\HWBM-Package> $mProxyHostname = "qs01"
PS C:\HWBM-Package> Invoke-WebRequest -Uri http://$mProxyHostname/hub

StatusCode : 200
StatusDescription : OK
Content : <!doctype html>
<html lang="en">
<head>
<meta name="robots" content="noindex, nofollow" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Qlik Sense login page<...
RawContent : HTTP/1.1 200 OK
Content-Length: 97760
Cache-Control: no-cache, no-store
Content-Type: text/html
Date: Wed, 24 Nov 2021 14:09:37 GMT
Server: Microsoft-HTTPAPI/2.0

<!doctype html>
<html lang="e...
Forms : {login-form}
Headers : {[Content-Length, 97760], [Cache-Control, no-cache, no-store], [Content-Type, text/html], [Date, Wed, 24 Nov 2021 14:09:37 GMT]...}
Images : {@{innerHTML=; innerText=; outerHTML=<img alt="Qlik Sense" src="data&colon;image/png;base64,

..... .... .....

Links : {}
ParsedHtml : mshtml.HTMLDocumentClass
RawContentLength : 97760

Frederic_De_Ranter
Author

Hi, 

The script expects that you can not get this page since you are not logged in ("Unauthorized"), if you have configured your server differently this may not work.

The previous version did the same but with a different check since the error message has changed with the latest version of powershell. Changing the Uri to point to the header proxy might be a solution.

Invoke-WebRequest -Uri http://$mProxyHostname/header/hub

Else you can change 

$HostisDown = 1
to 
Start-Sleep 20
$HostisDown = 0
 
Then the check doesn't run but it does wait 20 seconds extra to give some time for the host to come up.
 
BR,
Frederic
kss7374
Partner - Contributor III
Partner - Contributor III

Hello, Frederic

Thank you for your help - it works.

I have PowerShell version 5.X running with this condition :

Measure-Command { Invoke-WebRequest -Uri http://$fullProxyHostname/header/hub} >$null 2>&1
if ($error[0].Exception -like '*(401)*') {$HostisDown=0}


But it does not work with such a condition (by default):

Measure-Command { Invoke-WebRequest -Uri http://$fullProxyHostname/hub/} >$null 2>&1
if ($error[0].Exception -like '*Unauthorized*') {$HostisDown=0}

Perhaps in the documentation for the package you need to make a comment or check for the version of PowerShell you are using?

BR,

Sergey

 

kss7374
Partner - Contributor III
Partner - Contributor III

Hello, Frederic!

Tests from the updated package "HWBM-Package-1.1" they work fine for QlikSense, but there are several types of errors that occur in tests (3High Load Test, Test4a-Lothic, Test4b-hitic, Test4c-userpush, Test6-cpucapacity), for which I could not find information in the Community and in the documentation:

* Unexpected status code: 500 ProxyErrorCode.1000 (get http://qs01:80/header/api/hub/v1/properties) unexpected response status code<500> expected<[200]>
* Failed connecting to sense server: Failed connecting to sense server: websocket connected, but received error topic/-s: OnLicenseAccessDenied
* Failed connecting to sense server: Failed connecting to sense server: websocket connected, but no state created

Please tell me what they are caused by, how they can be diagnosed and corrected:
- the load on the server at the time of the test?
- is this a license restriction?
(I noticed that during the execution of all tests, more than 3.5 thousand temporary gopher_nnnn users are created in the system)

Thanks,

Sergey