Preconditions: * Properly installed apache-jmeter-2.9 To run stress tests simply run jmeter and open SearchResourcesStressTest.jmx or SearchCollectionStressTest.jmx file. By default tests hit https://infona.pl/ instance with safe amount of user (10 users in 5 s ramp-up time, so 2 users per second). Tests use following files: * data/logins.csv - contains credentials for existing portal users * data/resource_phrases.csv - list of phrases used for search resource testing * data/collection_phrases.csv - list of phrases used for search collection testing Before you run tests edit data/logins.csv file to provide proper authorization data for users, and tune up test parameters: 1. To increase amount of concurrent requests open "Thread Group" tab and modify "Number of threads (users)" and "Ramp-Up Period" fields. 2. To change tested environment open "Thread Group" -> "Simple Controller" -> "Server configuration" tab and change proper variables (SERVER, PORT, CONTEXT_PATH, PROTOCOL. For default localhost instance it will be something like: localhost, 8443, portal, https respectively) Test plans based on ticket 1581. Important notes! Tests fail if user can not log into portal. Tests *not* fail if: - search engine returns no results (this is expected) - resource does not contain author