# BufferTest

### Summary

The default buffer size of 8kb. It writes out to the implicit object.

### Positive Tests

positiveBuffCreate Test: Create a buffer size of say 12kb. Keep autoflush set to "false" (default). Write characters to the out object. Invoke the flush() method on out to flush the output to the client.

title | BufferTest
source | BufferTest.java
executeClass | core_syntax.directives.page.buffer.BufferTest
executeArgs | -TestCaseID positiveBuffCreate -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps
keywords | positive extensionAPI

positiveBuffAutoflush Test: Set autoflush to "true". Use default buffer size of 8kb. Write more than 8kb of data to out object.

title | BufferTest
source | BufferTest.java
executeClass | core_syntax.directives.page.buffer.BufferTest
executeArgs | -TestCaseID positiveBuffAutoflush -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps
keywords | positive extensionAPI

### Negative Tests

negativeBuffOverflow Test: Use the default buffer size of 8kb. Write more than 8kb of characters to the implicit out object, with autoFlush set to "false".

title | BufferTest
source | BufferTest.java
executeClass | core_syntax.directives.page.buffer.BufferTest
executeArgs | -TestCaseID negativeBuffOverflow -ServerHost $servletServerHost -ServerPort $servletServerPort -UrlMaps $servletMaps
keywords | positive extensionAPI