ThreadsafeTest

Summary

isthreadsafe directive shows the level of threadsafety implemented in the page

Positive Tests

threadsafeTrue: We are trying to access a jsp page which has "isthreadsafe" directive set to "true".Implementation is supposed to allow for concurrent operations. From this test two threads are making connections to the same jsp concurrently.
title ThreadsafeTest
source ThreadsafeTest.java
executeClass core_syntax.directives.page.threadsafe.ThreadsafeTest
executeArgs -TestCaseID threadsafeTrue threadsafeFalse -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps
keywords positive extensionAPI
threadsafeFalse : We are trying to access a jsp page which has "isthreadsafe" directive set to "false".Implementation is not supposed to allow for concurrent operations. Clients should access one at a time. From this test two threads are making connections to the same jsp concurrently.
title ThreadsafeTest
source ThreadsafeTest.java
executeClass core_syntax.directives.page.threadsafe.ThreadsafeTest
executeArgs -TestCaseID threadsafeFalse -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps
keywords positive extensionAPI