Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => Loadtest gatling.io knowledge => Topic started by: golfreeze on กุมภาพันธ์ 12, 2016, 12:45:55 PM

Title: check regex return value on gatling.io
Post by: golfreeze on กุมภาพันธ์ 12, 2016, 12:45:55 PM
.exec(http("Login_Transaction")
            .post( "/screen/index.htm")
            .headers(headers)
            
            /* feed from useruat.csv */
            .formParam("TRX_TYPE", "")
            .formParam("C_PASSWORD", "abc")

            //Check regex after login page if could login will found "SYS_top" word .
             .check(status.is(200))
             .check(regex("SYS_top")))