Tag Archives: parameter

Program to Increment the parameter when the parameter has more digits


I have a Parameter. I want to increase the parameter value by 1. Below is the code to capture the parameter and increment it by 1. Action() { long double i; lr_save_string(“1234567899”, “id”); i = atol(lr_eval_string(“{id}”)); i =i+1; lr_save_int(i, “id”); lr_output_message(“Value is: %s”, lr_eval_string(“{id}”)); return 0; } Output: Starting action Action. Action.c(12): Value is: 1234567900 Ending action Action. Ending Vuser… If we increase the […]

https://nonfunctionaltesting.wordpress.com/2014/09/24/program-to-increment-the-parameter-when-the-parameter-has-more-digits/

Script element – declaration


Declaration Declaration is used to declare a function that can be used in scriptlet or expression in a JSP page. Function is a unit for performing certain feature. In Java, we call it ‘method’. In JSP, declaration has the following syntax structure. In above structure, each syntax has following meanings. returnType – specifies the type […]

https://minjookwon.wordpress.com/2015/05/10/script-element-declaration/