Append the value of variable into text file

2019-06-12 Thread panneerrselvam natarajan
Hi All,


I am new to Jenkin and executing the pipeline.. Here i want to store the 
build number and result in text file.


Here my scripts
f = new file ('pan2.txt")
f.append('newline added!\n)
echo "My file " +f
println f.text


The above scripts adding the content but now i want add the 
env..build_number into the file

def buildnumber = env.build_number
f.append ($buildnumber) .  (not working).

Please guide me

Regards
Pan



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f26036a2-9188-4f52-846b-6685f0d5c026%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


jenkins build history with status for the given period

2019-06-10 Thread panneerrselvam natarajan
Hi All,

We are running Jenkins on Unix environment and execution the pipeline with 
different stages including Unit Testing. Now I want to generate the report 
for given period with following details

Like below

Build Number 
Execution date 
UnitTest Pass or Fail . 
Each stage pass or fail
Build pass or fail


Do we need to install any plug in or shall we create the xml file and 
append the record. Please guide us.

Regards
Panneer

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/95f80cf2-cd23-4378-bcd3-c74114b319b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: extract or validate the xml response from jenkins

2019-06-09 Thread panneerrselvam natarajan
Thanks Danny Jacob,

It is working fine.

Regards
panneer


On Saturday, June 8, 2019 at 12:02:26 AM UTC-7, Danny Jacob wrote:
>
> Write an xml parser function in groovy might help. 
> We are doing similar for our test automation set up to make the build 
> unstable by counting number of failures.
>
>
> On Sat, 8 Jun 2019 at 1:07 PM, panneerrselvam natarajan  > wrote:
>
>> Hi All,
>>
>> I am using Jenkins (linux server), and sending the RAP content and 
>> getting the xml response for my test suite result. I am publishing the test 
>> result using test result analyzer.
>>
>> xml file were created and published thru "Test Result Analyser" . . Now I 
>> want to extract the number of passed and failed test cases and communicate 
>> thru automatic email.
>>
>> How to i extract or validate the test result which is available in xml 
>> format.
>>
>> Please guide me
>>
>>
>> Regards
>> Panneer
>>
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkins...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/1e6fc7a7-ec81-42dc-869a-8b2b2c62fcd5%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/1e6fc7a7-ec81-42dc-869a-8b2b2c62fcd5%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> *Best Regards,*
> *Jacob Dany*
> *contact - +65 90224437*
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/18150894-0a07-4d03-86aa-83df8dbe7d88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: extract or validate the xml response from jenkins

2019-06-08 Thread panneerrselvam natarajan
Hi Jacob,

Thanks for your response.
Already i tried with xml parser and getting error message. Please see my 
attached screenshot for my code and xml response.

Regards
Panneer


On Saturday, June 8, 2019 at 12:02:26 AM UTC-7, Danny Jacob wrote:
>
> Write an xml parser function in groovy might help. 
> We are doing similar for our test automation set up to make the build 
> unstable by counting number of failures.
>
>
> On Sat, 8 Jun 2019 at 1:07 PM, panneerrselvam natarajan  > wrote:
>
>> Hi All,
>>
>> I am using Jenkins (linux server), and sending the RAP content and 
>> getting the xml response for my test suite result. I am publishing the test 
>> result using test result analyzer.
>>
>> xml file were created and published thru "Test Result Analyser" . . Now I 
>> want to extract the number of passed and failed test cases and communicate 
>> thru automatic email.
>>
>> How to i extract or validate the test result which is available in xml 
>> format.
>>
>> Please guide me
>>
>>
>> Regards
>> Panneer
>>
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkins...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/1e6fc7a7-ec81-42dc-869a-8b2b2c62fcd5%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/1e6fc7a7-ec81-42dc-869a-8b2b2c62fcd5%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> *Best Regards,*
> *Jacob Dany*
> *contact - +65 90224437*
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/080b2fc6-8dc4-4489-a6ba-ad4eea1d027a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


extract or validate the xml response from jenkins

2019-06-07 Thread panneerrselvam natarajan
Hi All,

I am using Jenkins (linux server), and sending the RAP content and getting 
the xml response for my test suite result. I am publishing the test result 
using test result analyzer.

xml file were created and published thru "Test Result Analyser" . . Now I 
want to extract the number of passed and failed test cases and communicate 
thru automatic email.

How to i extract or validate the test result which is available in xml 
format.

Please guide me


Regards
Panneer




-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1e6fc7a7-ec81-42dc-869a-8b2b2c62fcd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-30 Thread panneerrselvam natarajan
Thanks David.

-v option helped me to fix the issue.

Regards
Panneerr


> On Jan 22, 2019, at 4:23 PM, David Karr  wrote:
> 
> I suggest you add "-v" to the curl command-line options and then print the 
> "sresponse" variable.
> 
> On Tue, Jan 22, 2019 at 11:15 AM N Panneerrselvam  <mailto:panne...@gmail.com>> wrote:
> Def sresponse = sh scripts: status, return srdout: true
> 
> On Mon, Jan 21, 2019, 09:50 David Karr  <mailto:davidmichaelk...@gmail.com> wrote:
> 
> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan  <mailto:panne...@gmail.com>> wrote:
> Hi All,
> 
> I am using Jenkins for API Testing in Pega Environment.  I can send and 
> receive response thru PostMan and SOAPUI and working fine.
> 
> But I want to automate using Jenkins Pipeline.
> 
> Please do let me know, How do i send the data/variable thru CURL command in 
> pipeline. I sent the data but not displayed any error message and not getting 
> any response also
> 
> I am sending the data which include special charector along with Data. Please 
> do let me know the format.
> 
> I suggest you show us exactly what you're doing, what the result is, and what 
> you expected. Exactly.
> 
> 
> Regards
> Panner
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com 
> <mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/ad16f4d1-c745-442a-90df-b2b73b73e03f%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/ad16f4d1-c745-442a-90df-b2b73b73e03f%40googlegroups.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com 
> <mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VpK__XPLyskiSNB_zy-mbqBQL5DNUq2-fsDkjtLJZRTEA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VpK__XPLyskiSNB_zy-mbqBQL5DNUq2-fsDkjtLJZRTEA%40mail.gmail.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com 
> <mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAMgnGvYLCnzMsa4Ba8C_PwAfWTOn70g3Fyc0B5ABfuR5HZq1hg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/CAMgnGvYLCnzMsa4Ba8C_PwAfWTOn70g3Fyc0B5ABfuR5HZq1hg%40mail.gmail.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com 
> <mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VqATiDoj0x58MPaqgiOExaPsLJMJG%3Do76fFhDEZi_oBrA%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/CAA5t8VqATiDoj0x58MPaqgiOExaPsLJMJG%3Do76fFhDEZi_oBrA%40mail.gmail.com?utm_medium=email_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/05003471-4BF8-40CA-8500-BE1AFFD9D660%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Pass the data thru variable using curl command

2019-01-20 Thread panneerrselvam natarajan
Hi All,

I am using Jenkins for API Testing in Pega Environment.  I can send and 
receive response thru PostMan and SOAPUI and working fine.

But I want to automate using Jenkins Pipeline.

Please do let me know, How do i send the data/variable thru CURL command in 
pipeline. I sent the data but not displayed any error message and not 
getting any response also

I am sending the data which include special charector along with Data. 
Please do let me know the format.

Regards
Panner

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ad16f4d1-c745-442a-90df-b2b73b73e03f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Eclipse Editor for jenkinsfile

2018-10-29 Thread panneerrselvam natarajan


Hi Team,


I am new to Jenkins pipeline and Eclipse, I need to use the eclipse editor 
to create and compile the Jenkins file and finally need to store in Git 
repository.


I have already installed Jenkins editor plugin for Eclipse, Please help me 
to use the editor and compile the pipeline code for error fixing.



Regards

Panneerselvam

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/33be3e75-b579-4272-a579-2f6b18f72643%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: curl syntax to send and receive REST Service API response (xml) from jenkins

2018-10-29 Thread panneerrselvam natarajan
Hi Prasad,

Thanks for your response.

I am getting response using HTTP instead of HTTPS and stored in xml file.. 
How do i read the xml file? 
The new XmlParser().parseText() displayed some error

Regards
Panneer



panneerrselvam natarajan wrote:

> Hi All,
>
> I need to execute the test suite using jenkins pipeline, The test suites  
> which has developed using pega (REST service API). Please do let me know 
> syntax to get the xml based response.
>
> Regards
> Panneer
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e1492cbf-f53b-41a5-b854-cdd59825e1b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do we send number of pass/fail test result using Test Results Analyzer plugin

2018-10-25 Thread panneerrselvam natarajan
Hi All,

I am using Test Results Analyzer plugin for my Jenkins pipeline and getting 
test result through Test Result Analyzer plugin.. Is there any way to 
capture the pass/fail/total test cases and communicate to Email thru 
pipeline scripts.

Please clarify.
 

Regards
Panneer

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/03464a78-56cf-4e18-a6a1-5f695a3d50d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: curl syntax to send and receive REST Service API response (xml) from jenkins

2018-10-24 Thread panneerrselvam natarajan
Hi Matt,

We have Pega test suite (Rest API) and it is working fine in pega and 
postman. Now through jenkins pipeline i need to call the test suite and 
verify the xml response thru jenkins.


Please do let me know if you need clarification.

Regards
Panneer


On Wednesday, October 24, 2018 at 7:52:03 AM UTC-7, Matt Hicks wrote:
>
> Hi Panneer,
>
> Could you please explain in more detail how you run the tests outside of 
> Jenkins?
>
> Cheers,
> Matt
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/87d31c98-31c1-4710-90e9-ba4a873608df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: curl syntax to send and receive REST Service API response (xml) from jenkins

2018-10-16 Thread panneerrselvam natarajan
Hi ,

Thanks for your response.

I am expecting complete curl statement (syntax ) for request and xml 
response.

Regards
Panneer


On Tuesday, October 16, 2018 at 8:08:55 PM UTC-7, panneerrselvam natarajan 
wrote:
>
> Hi All,
>
> I need to execute the test suite using jenkins pipeline, The test suites  
> which has developed using pega (REST service API). Please do let me know 
> syntax to get the xml based response.
>
> Regards
> Panneer
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b1b97c80-a692-4171-b99e-c122853639a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


curl syntax to send and receive REST Service API response (xml) from jenkins

2018-10-16 Thread panneerrselvam natarajan
Hi All,

I need to execute the test suite using jenkins pipeline, The test suites  
which has developed using pega (REST service API). Please do let me know 
syntax to get the xml based response.

Regards
Panneer

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8950b629-48b7-4441-a37f-29880fb25410%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


call pzinskey (pega) file from jenkins and execute the unit test suites

2018-10-10 Thread panneerrselvam natarajan
Hi All,

I need to integrate the Unit Test cases using Jenkins, They will provide 
the pzinskey (pega) which containts the list of test suites. I need to 
execute whether pass or fail and provide the result.

Please can i have any suggestion on this.


Regards
Panneer

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ea82d78d-e86f-422c-8a98-fb2dedef9cc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: need the pipline script

2018-10-06 Thread panneerrselvam natarajan
sure.

I variable declaration was missing...I did.

Regards
Panneer
Hi,

Variable declaration was missing.. I did.

Regards
Panneer


On Friday, October 5, 2018 at 6:46:22 AM UTC-7, Rehan Baig wrote:
>
> Please share here so newbie like me can get benefit from it too 
>
> Thanks 
>
> On Thu, Oct 4, 2018, 8:54 PM RAJENDRA PRASAD  > wrote:
>
>> Hi ,
>> Tomorrow I can help you, can you mail me personally, what you are 
>> actually doing there ?
>> I mean what are the steps you have in pipeline script,when you are 
>> encountering this issue.
>>
>> Thanks,
>> rajendra....@gmail.com 
>>
>> On Fri 5 Oct, 2018, 12:01 AM panneerrselvam natarajan, > > wrote:
>>
>>> Hi Rajendra,
>>>
>>> I am getting the below error message..
>>>
>>> groovy.lang.MissingPropertyException: No such property: AfirstDT for class: 
>>> groovy.lang.Binding
>>> at groovy.lang.Binding.getVariable(Binding.java:63)
>>>
>>>
>>> Please suggest me.
>>>
>>>
>>>
>>> Regards
>>>
>>> Panneer
>>>
>>>
>>>
>>> On Monday, October 1, 2018 at 8:47:28 AM UTC-7, rajendraprasad reddy 
>>> wrote:
>>>>
>>>> Using curl you can automate but we use readyAPI(paid version o SOAPUI).
>>>> Curl can be used for light weight automation and it is tedious to use 
>>>> large scale web service automation.
>>>> you can also use soapui open source or even jmeter.
>>>>
>>>> these tools you can install on the same machine and use cli mode to 
>>>> launch tests from shell prompt in build section.
>>>>
>>>> thanks,
>>>> Rajendra
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
>>>> Testing.Mobile:9008566233*
>>>>
>>>>
>>>> On Mon, 1 Oct 2018 at 21:06, panneerrselvam natarajan <
>>>> pann...@gmail.com> wrote:
>>>>
>>>>> Hi Rajendra,
>>>>>
>>>>> Thanks for your immediate response.
>>>>> Yes.. I want to automate web services using Jenkins pipeline
>>>>> I think i can call using curl function.. current me if am wrong.
>>>>>
>>>>> Regards
>>>>> Panneer
>>>>>
>>>>>
>>>>> On Monday, October 1, 2018 at 7:31:09 AM UTC-7, rajendraprasad reddy 
>>>>> wrote:
>>>>>>
>>>>>> Hi panneerrselvam,
>>>>>> You want to automate web services using Jenkins? or you want to 
>>>>>> trigger Jenkins via API(Rest Call)?
>>>>>> i think , you want to  trigger automated test suite for web service 
>>>>>> from Jenkins ?
>>>>>> If that s correct then which or framework you people used create 
>>>>>> automated web service test suite?
>>>>>> normally people write ant script to trigger test suite.
>>>>>>  
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
>>>>>> Testing.Mobile:9008566233*
>>>>>>
>>>>>>
>>>>>> On Mon, 1 Oct 2018 at 19:00, panneerrselvam natarajan <
>>>>>> pann...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Rajendra,
>>>>>>>
>>>>>>> Thanks for your response.
>>>>>>>
>>>>>>> I installed  everything and got credential also. The sample pipeline 
>>>>>>> scripts are working fine.
>>>>>>>
>>>>>>> I have lot of API Test case... Let me know the procedure to send 
>>>>>>> request and get response (HTTPS) for simple url ( i can use my company 
>>>>>>> url).
>>>>>>>
>>>>>>> Thanks in advance
>>>>>>> Panneer
>>>>>>>
>>>>>>>
>>>>>>> On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Install following plugins
>>>>>>>> Git plugin,
>>>>>>>> Pipeline plugin,

Re: need the pipline script

2018-10-04 Thread panneerrselvam natarajan
Hi Rajendra,

I am getting the below error message when i run my scripts using jenkins.

Ji.. I need your technical support

for few minutes

I am getting the below error message while executing the pipeline

groovy.lang.MissingPropertyException: No such property: A99versionCount1 
for class: groovy.lang.Binding
  at groovy.lang.Binding.getVariable(Binding.java:63) 


Can you help me on this.


Regards

Panneer



On Monday, October 1, 2018 at 10:36:57 AM UTC-7, panneerrselvam natarajan 
wrote:
>
> Thanks Rajendra
>
> Regards
> Panneer
>
>
> On Monday, October 1, 2018 at 8:47:28 AM UTC-7, rajendraprasad reddy wrote:
>>
>> Using curl you can automate but we use readyAPI(paid version o SOAPUI).
>> Curl can be used for light weight automation and it is tedious to use 
>> large scale web service automation.
>> you can also use soapui open source or even jmeter.
>>
>> these tools you can install on the same machine and use cli mode to 
>> launch tests from shell prompt in build section.
>>
>> thanks,
>> Rajendra
>>
>>
>>
>>
>>
>>
>> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
>> Testing.Mobile:9008566233*
>>
>>
>> On Mon, 1 Oct 2018 at 21:06, panneerrselvam natarajan  
>> wrote:
>>
>>> Hi Rajendra,
>>>
>>> Thanks for your immediate response.
>>> Yes.. I want to automate web services using Jenkins pipeline
>>> I think i can call using curl function.. current me if am wrong.
>>>
>>> Regards
>>> Panneer
>>>
>>>
>>> On Monday, October 1, 2018 at 7:31:09 AM UTC-7, rajendraprasad reddy 
>>> wrote:
>>>>
>>>> Hi panneerrselvam,
>>>> You want to automate web services using Jenkins? or you want to trigger 
>>>> Jenkins via API(Rest Call)?
>>>> i think , you want to  trigger automated test suite for web service 
>>>> from Jenkins ?
>>>> If that s correct then which or framework you people used create 
>>>> automated web service test suite?
>>>> normally people write ant script to trigger test suite.
>>>>  
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
>>>> Testing.Mobile:9008566233*
>>>>
>>>>
>>>> On Mon, 1 Oct 2018 at 19:00, panneerrselvam natarajan <
>>>> pann...@gmail.com> wrote:
>>>>
>>>>> Hi Rajendra,
>>>>>
>>>>> Thanks for your response.
>>>>>
>>>>> I installed  everything and got credential also. The sample pipeline 
>>>>> scripts are working fine.
>>>>>
>>>>> I have lot of API Test case... Let me know the procedure to send 
>>>>> request and get response (HTTPS) for simple url ( i can use my company 
>>>>> url).
>>>>>
>>>>> Thanks in advance
>>>>> Panneer
>>>>>
>>>>>
>>>>> On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy 
>>>>> wrote:
>>>>>>
>>>>>> Install following plugins
>>>>>> Git plugin,
>>>>>> Pipeline plugin,
>>>>>> Credentials plugin
>>>>>> Credentials binding plugin
>>>>>>
>>>>>> After this use snippet generator to compose pipeline step like 
>>>>>> 'gitcheckout'
>>>>>>
>>>>>> I hope you can do after this hint.
>>>>>> Let me know if you need further help?
>>>>>>
>>>>>> Thanks,
>>>>>> Rajendra
>>>>>>
>>>>>> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra,  
>>>>>> wrote:
>>>>>>
>>>>>>> HI 
>>>>>>>
>>>>>>> need pipleine script to get code from git and deploy to the ssh and 
>>>>>>> how to store ssh keys and location in jenkins pipeline  project 
>>>>>>>
>>>>>>>
>>>>>>> Regards 
>>>>>>>
>>>>>>> *Robert Rajendra*
>>>>>>>
>>>>>>> Associate Network/Server Support Engineer
>>>>>>>
>>>>>>> IT Hands
>>>>>>>
>>>>>>> P: +91 863.087.3094
>>>>>>>
>>>>>>> 

Re: need the pipline script

2018-10-04 Thread panneerrselvam natarajan
Hi Rajendra,

I am getting the below error message..

groovy.lang.MissingPropertyException: No such property: AfirstDT for class: 
groovy.lang.Binding
at groovy.lang.Binding.getVariable(Binding.java:63)


Please suggest me.



Regards

Panneer



On Monday, October 1, 2018 at 8:47:28 AM UTC-7, rajendraprasad reddy wrote:
>
> Using curl you can automate but we use readyAPI(paid version o SOAPUI).
> Curl can be used for light weight automation and it is tedious to use 
> large scale web service automation.
> you can also use soapui open source or even jmeter.
>
> these tools you can install on the same machine and use cli mode to launch 
> tests from shell prompt in build section.
>
> thanks,
> Rajendra
>
>
>
>
>
>
> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
> Testing.Mobile:9008566233*
>
>
> On Mon, 1 Oct 2018 at 21:06, panneerrselvam natarajan  > wrote:
>
>> Hi Rajendra,
>>
>> Thanks for your immediate response.
>> Yes.. I want to automate web services using Jenkins pipeline
>> I think i can call using curl function.. current me if am wrong.
>>
>> Regards
>> Panneer
>>
>>
>> On Monday, October 1, 2018 at 7:31:09 AM UTC-7, rajendraprasad reddy 
>> wrote:
>>>
>>> Hi panneerrselvam,
>>> You want to automate web services using Jenkins? or you want to trigger 
>>> Jenkins via API(Rest Call)?
>>> i think , you want to  trigger automated test suite for web service from 
>>> Jenkins ?
>>> If that s correct then which or framework you people used create 
>>> automated web service test suite?
>>> normally people write ant script to trigger test suite.
>>>  
>>>
>>>
>>>
>>>
>>>
>>> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
>>> Testing.Mobile:9008566233*
>>>
>>>
>>> On Mon, 1 Oct 2018 at 19:00, panneerrselvam natarajan  
>>> wrote:
>>>
>>>> Hi Rajendra,
>>>>
>>>> Thanks for your response.
>>>>
>>>> I installed  everything and got credential also. The sample pipeline 
>>>> scripts are working fine.
>>>>
>>>> I have lot of API Test case... Let me know the procedure to send 
>>>> request and get response (HTTPS) for simple url ( i can use my company 
>>>> url).
>>>>
>>>> Thanks in advance
>>>> Panneer
>>>>
>>>>
>>>> On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy 
>>>> wrote:
>>>>>
>>>>> Install following plugins
>>>>> Git plugin,
>>>>> Pipeline plugin,
>>>>> Credentials plugin
>>>>> Credentials binding plugin
>>>>>
>>>>> After this use snippet generator to compose pipeline step like 
>>>>> 'gitcheckout'
>>>>>
>>>>> I hope you can do after this hint.
>>>>> Let me know if you need further help?
>>>>>
>>>>> Thanks,
>>>>> Rajendra
>>>>>
>>>>> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra,  
>>>>> wrote:
>>>>>
>>>>>> HI 
>>>>>>
>>>>>> need pipleine script to get code from git and deploy to the ssh and 
>>>>>> how to store ssh keys and location in jenkins pipeline  project 
>>>>>>
>>>>>>
>>>>>> Regards 
>>>>>>
>>>>>> *Robert Rajendra*
>>>>>>
>>>>>> Associate Network/Server Support Engineer
>>>>>>
>>>>>> IT Hands
>>>>>>
>>>>>> P: +91 863.087.3094
>>>>>>
>>>>>> W: www.ITHands.com <http://www.ithands.com/>
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "Jenkins Users" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to jenkinsci-use...@googlegroups.com.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEa

Re: need the pipline script

2018-10-01 Thread panneerrselvam natarajan
Thanks Rajendra

Regards
Panneer


On Monday, October 1, 2018 at 8:47:28 AM UTC-7, rajendraprasad reddy wrote:
>
> Using curl you can automate but we use readyAPI(paid version o SOAPUI).
> Curl can be used for light weight automation and it is tedious to use 
> large scale web service automation.
> you can also use soapui open source or even jmeter.
>
> these tools you can install on the same machine and use cli mode to launch 
> tests from shell prompt in build section.
>
> thanks,
> Rajendra
>
>
>
>
>
>
> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
> Testing.Mobile:9008566233*
>
>
> On Mon, 1 Oct 2018 at 21:06, panneerrselvam natarajan  > wrote:
>
>> Hi Rajendra,
>>
>> Thanks for your immediate response.
>> Yes.. I want to automate web services using Jenkins pipeline
>> I think i can call using curl function.. current me if am wrong.
>>
>> Regards
>> Panneer
>>
>>
>> On Monday, October 1, 2018 at 7:31:09 AM UTC-7, rajendraprasad reddy 
>> wrote:
>>>
>>> Hi panneerrselvam,
>>> You want to automate web services using Jenkins? or you want to trigger 
>>> Jenkins via API(Rest Call)?
>>> i think , you want to  trigger automated test suite for web service from 
>>> Jenkins ?
>>> If that s correct then which or framework you people used create 
>>> automated web service test suite?
>>> normally people write ant script to trigger test suite.
>>>  
>>>
>>>
>>>
>>>
>>>
>>> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
>>> Testing.Mobile:9008566233*
>>>
>>>
>>> On Mon, 1 Oct 2018 at 19:00, panneerrselvam natarajan  
>>> wrote:
>>>
>>>> Hi Rajendra,
>>>>
>>>> Thanks for your response.
>>>>
>>>> I installed  everything and got credential also. The sample pipeline 
>>>> scripts are working fine.
>>>>
>>>> I have lot of API Test case... Let me know the procedure to send 
>>>> request and get response (HTTPS) for simple url ( i can use my company 
>>>> url).
>>>>
>>>> Thanks in advance
>>>> Panneer
>>>>
>>>>
>>>> On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy 
>>>> wrote:
>>>>>
>>>>> Install following plugins
>>>>> Git plugin,
>>>>> Pipeline plugin,
>>>>> Credentials plugin
>>>>> Credentials binding plugin
>>>>>
>>>>> After this use snippet generator to compose pipeline step like 
>>>>> 'gitcheckout'
>>>>>
>>>>> I hope you can do after this hint.
>>>>> Let me know if you need further help?
>>>>>
>>>>> Thanks,
>>>>> Rajendra
>>>>>
>>>>> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra,  
>>>>> wrote:
>>>>>
>>>>>> HI 
>>>>>>
>>>>>> need pipleine script to get code from git and deploy to the ssh and 
>>>>>> how to store ssh keys and location in jenkins pipeline  project 
>>>>>>
>>>>>>
>>>>>> Regards 
>>>>>>
>>>>>> *Robert Rajendra*
>>>>>>
>>>>>> Associate Network/Server Support Engineer
>>>>>>
>>>>>> IT Hands
>>>>>>
>>>>>> P: +91 863.087.3094
>>>>>>
>>>>>> W: www.ITHands.com <http://www.ithands.com/>
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "Jenkins Users" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to jenkinsci-use...@googlegroups.com.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com?utm_medium=email_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>

Re: need the pipline script

2018-10-01 Thread panneerrselvam natarajan
Hi Rajendra,

Thanks for your immediate response.
Yes.. I want to automate web services using Jenkins pipeline
I think i can call using curl function.. current me if am wrong.

Regards
Panneer


On Monday, October 1, 2018 at 7:31:09 AM UTC-7, rajendraprasad reddy wrote:
>
> Hi panneerrselvam,
> You want to automate web services using Jenkins? or you want to trigger 
> Jenkins via API(Rest Call)?
> i think , you want to  trigger automated test suite for web service from 
> Jenkins ?
> If that s correct then which or framework you people used create automated 
> web service test suite?
> normally people write ant script to trigger test suite.
>  
>
>
>
>
>
> *Thanks and Regards,Rajendra Prasad Reddy PenumalliSr. Engineer in 
> Testing.Mobile:9008566233*
>
>
> On Mon, 1 Oct 2018 at 19:00, panneerrselvam natarajan  > wrote:
>
>> Hi Rajendra,
>>
>> Thanks for your response.
>>
>> I installed  everything and got credential also. The sample pipeline 
>> scripts are working fine.
>>
>> I have lot of API Test case... Let me know the procedure to send request 
>> and get response (HTTPS) for simple url ( i can use my company url).
>>
>> Thanks in advance
>> Panneer
>>
>>
>> On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy 
>> wrote:
>>>
>>> Install following plugins
>>> Git plugin,
>>> Pipeline plugin,
>>> Credentials plugin
>>> Credentials binding plugin
>>>
>>> After this use snippet generator to compose pipeline step like 
>>> 'gitcheckout'
>>>
>>> I hope you can do after this hint.
>>> Let me know if you need further help?
>>>
>>> Thanks,
>>> Rajendra
>>>
>>> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra,  
>>> wrote:
>>>
>>>> HI 
>>>>
>>>> need pipleine script to get code from git and deploy to the ssh and 
>>>> how to store ssh keys and location in jenkins pipeline  project 
>>>>
>>>>
>>>> Regards 
>>>>
>>>> *Robert Rajendra*
>>>>
>>>> Associate Network/Server Support Engineer
>>>>
>>>> IT Hands
>>>>
>>>> P: +91 863.087.3094
>>>>
>>>> W: www.ITHands.com <http://www.ithands.com/>
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Jenkins Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to jenkinsci-use...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/949f3b0a-bd35-4029-8064-3533644e28b2%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/949f3b0a-bd35-4029-8064-3533644e28b2%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/36961ef9-7b1c-4388-b740-55565e644774%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: need the pipline script

2018-10-01 Thread panneerrselvam natarajan
Hi Rajendra,

Thanks for your response.

I installed  everything and got credential also. The sample pipeline 
scripts are working fine.

I have lot of API Test case... Let me know the procedure to send request 
and get response (HTTPS) for simple url ( i can use my company url).

Thanks in advance
Panneer


On Monday, October 1, 2018 at 5:10:12 AM UTC-7, rajendraprasad reddy wrote:
>
> Install following plugins
> Git plugin,
> Pipeline plugin,
> Credentials plugin
> Credentials binding plugin
>
> After this use snippet generator to compose pipeline step like 
> 'gitcheckout'
>
> I hope you can do after this hint.
> Let me know if you need further help?
>
> Thanks,
> Rajendra
>
> On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra,  > wrote:
>
>> HI 
>>
>> need pipleine script to get code from git and deploy to the ssh and 
>> how to store ssh keys and location in jenkins pipeline  project 
>>
>>
>> Regards 
>>
>> *Robert Rajendra*
>>
>> Associate Network/Server Support Engineer
>>
>> IT Hands
>>
>> P: +91 863.087.3094
>>
>> W: www.ITHands.com 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/949f3b0a-bd35-4029-8064-3533644e28b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to Automate the webservices api test using jenkins

2018-09-30 Thread panneerrselvam natarajan


Hi Team,


I am new to Jenkins with GIT and I need to automate  webservices using 
Jenkins pipeline. Please help me one simple scripts with stages for API 
request and response to understand flow. Otherwise share the where can I 
get the example for my learning.

 

Thanks

Panneerr

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e1ce691e-70a9-4059-83c2-be889019fd91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.