AnandKiran
16 years agoFrequent Contributor
How to access the functions in Jar file using Groovy
Hi,
I have a small java program which I converted it into Jat file, Now I want to access the functions using groovy in SOAP UI.
public class Calc
{
int a,b,sum,sub;
int add()
{
sum=a+b;
System.out.println("Sum =" + sum);
}
void sub()
{
sub=a-b;
System.out.println("Sum =" + sub);
}
}
Can Anyone suggest me how to do it.
Regards
Anand.
I have a small java program which I converted it into Jat file, Now I want to access the functions using groovy in SOAP UI.
public class Calc
{
int a,b,sum,sub;
int add()
{
sum=a+b;
System.out.println("Sum =" + sum);
}
void sub()
{
sub=a-b;
System.out.println("Sum =" + sub);
}
}
Can Anyone suggest me how to do it.
Regards
Anand.