Fix Neoload Corrupt Project

Every once in a while its possible to corrupt a project config. You will see this error when trying to open the project: Unexpected error while loading project: com.neotys.nl.controller.data.oc: java.util.zip.ZipException: zip file is empty

 

To fix the issue and get back into your project please follow a few simple steps.

1. Close Neoload

2. Open your project folder and…

Linux Firewall

Did you know RHEL has a firewall? I didn’t.

Here is how you can stop the feature: sudo /etc/init.d/iptables stop
http://www.cyberciti.biz/faq/turn-on-turn-off-firewall-in-linux/

A Linux firewall is software based firewall that provides protection between your server (workstation) and damaging content on the Internet or network. It will try to guard your computer against both malicious…

Neoload Variable Extractor Spanning New Line Character

If you need a variable extractor to span a new line you need to convert your extractor to advanced mode and modify it manually. This is useful if you need to to capture multiple lines in a variable for use or for later extraction from that captured variable.

 

Example of simple mode extraction:

RB - name=”response” value=”

LB - “>

 

Example of modified advanced…

Amazon RDS Monitoring

Interesting – “Amazon RDS supports access from any standard SQL client application. Amazon RDS does not allow direct host access via Telnet, Secure Shell (SSH), or Windows Remote Desktop Connection.”

http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.html 

Found a way to monitor. Hope it works well -…

IIS Client Cache

If you run a web app on IIS you should consider using the following setting.

 

Mor…

Exclude hosts from dynamically executed page resources in Neoload

Enable the URL exclusion filter under advanced settings for your scenario.

The below entry will exclude any calls to www.sandbreak.com from the test.

.*www\.sandbreak\.com.*

 

This may be needed if you want to dynamically call page resources, yet want to control where you are sending traffic (exclude tracking cookies, and any calls outside the system under…

+100K simultaneous user testing using Neoload

Edit - C:\Program Files\NeoLoad 4.1\conf\controller.properties and set compute.advanced.statistics to false. This change will save you time between tests. A 100K test running for 48 hours may take an hour to calculate advanced stats which can be problematic if you are trying to run back to back…

Linux – Increase port range (for busy servers)

Current –

$ sysctl net.ipv4.ip_local_port_range

net.ipv4.ip_local_port_range = 32768    61000

 

New -

net.ipv4.ip_local_port_range = 15000    61000

 

This may be needed when tomcat / apache are running on the sam…

W3TC Browser Cache – .htaccess entries

Solid settings. Some of these can be applied to different app / web installations:

 

# BEGIN W3TC Browser Cache
<IfModule mod_mime.c>
AddType text/css .css
AddType text/x-component .htc
AddType application/x-javascript .js
AddType application/javascript .js2
AddType text/javascript .js3
AddType text/x-js .js4
AddType text/html .html .htm
AddType text/richtext .rtf…

LAMP – ulimits

If you run apache, tomcat, or mysql under a user account please update the ulimit settings for that user.

 

Something like this is a good starting point:

soft nofile 8192

hard nofile 16384

soft nproc 8192

hard nproc 16383

 

Check current settings:    …

Copyright ©2013. All Rights Reserved.