multiple user logins in jmeter

I just implemented this using jmeter for an app that uses Spring Security (It would be very similar to PHP). This is fairly straightforward, basically: 1) Create a new CSV file using a text editor Ex: CSVSample_user.csv username1, password1 username2, password2 2) In jmeter, create a CSV Data Set Config element Thread Group>add>Config Element>CSV Data …

Read more

How to check a log/output in go test?

For example, readbyte_test.go: package main import ( “bytes” “fmt” “io” “log” “os” “testing” ) func readByte( /*…*/ ) { // … err := io.EOF // force an error if err != nil { fmt.Println(“ERROR”) log.Print(“Couldn’t read first byte”) return } // … } func TestReadByte(t *testing.T) { var buf bytes.Buffer log.SetOutput(&buf) defer func() { log.SetOutput(os.Stderr) …

Read more

How do I test my iOS Apps

Update: Added section ‘Automated testing for iOS4’ As a professional tester my suggestion is that you should have a healthy mix of automated and manual testing. The Examples below are in .net but it should be easy to find a tool for whatever technique you are using. AUTOMATED TESTING Unit Testing Use NUnit to test …

Read more