You have to use TestNG Or Junit for test case and functional test.And for testing your system about performance and security, you could use of Apache JMeter