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  > wrote:
> Def sresponse = sh scripts: status, return srdout: true
> 
> On Mon, Jan 21, 2019, 09:50 David Karr   wrote:
> 
> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan  > 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 
> .
> 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 
> .
> 
> -- 
> 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/CAA5t8VpK__XPLyskiSNB_zy-mbqBQL5DNUq2-fsDkjtLJZRTEA%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/CAMgnGvYLCnzMsa4Ba8C_PwAfWTOn70g3Fyc0B5ABfuR5HZq1hg%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/CAA5t8VqATiDoj0x58MPaqgiOExaPsLJMJG%3Do76fFhDEZi_oBrA%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/05003471-4BF8-40CA-8500-BE1AFFD9D660%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-23 Thread Panneer

Hi All,

Thanks for your response.

I tried with V also.. Now i tried with less data , but still i am not able 
see the response.. The complete my request is here below:-
def fresponse = '''\{"DependentApplctnRulesList": [ { "pyVersion": 
"01.06.07", "pyName": "Temp_PFW" }]}''' 
def second_Req = "curl -v --max-time 30 POST 'https://url'" + " -H " + 
"\"Content-type: application/json\"" + " -d " + '\'' + fresponse + '\''
  
def Sresponse = sh script: second_Req, returnStdout: true
echo "Final request  " + second_Req

The above fresponse works fine with postman and SOUPUI.

'
Regards
Panneer


On Wednesday, January 23, 2019 at 6:41:41 AM UTC-7, Björn Pedersen wrote:
>
>
>
> Am Dienstag, 22. Januar 2019 05:18:28 UTC+1 schrieb Panneer:
>>
>> Hi David,
>>
>> My request is here below:-
>>
>> def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: 
>> application/json" -d {"DeAppRulesList": 
>> [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}
>>
>
> Carefully check all the quotes! They seem to be incorrect. 
> Dump the content of status both with
>  echo status
>
> and 
>  sh "echo $status" 
>
> to check that all inner quotes survive as you want them to. 
>
>  
>
>> No error and no response received.
>>
>> Regards
>> Panneer
>>
>>
>> On Monday, January 21, 2019 at 9:50:19 AM UTC-7, David Karr wrote:
>>>
>>>
>>> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan <
>>> pann...@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-use...@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.

>>>

-- 
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/0ed068c4-3f81-4917-941a-0ccbce2acdb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-23 Thread 'Björn Pedersen' via Jenkins Users


Am Dienstag, 22. Januar 2019 05:18:28 UTC+1 schrieb Panneer:
>
> Hi David,
>
> My request is here below:-
>
> def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: 
> application/json" -d {"DeAppRulesList": 
> [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}
>

Carefully check all the quotes! They seem to be incorrect. 
Dump the content of status both with
 echo status

and 
 sh "echo $status" 

to check that all inner quotes survive as you want them to. 

 

> No error and no response received.
>
> Regards
> Panneer
>
>
> On Monday, January 21, 2019 at 9:50:19 AM UTC-7, David Karr wrote:
>>
>>
>> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan <
>> pann...@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-use...@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.
>>>
>>

-- 
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/f33f5103-f0f1-4ea8-b57a-111ebd54c461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-22 Thread David Karr
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 
wrote:

> Def sresponse = sh scripts: status, return srdout: true
>
> On Mon, Jan 21, 2019, 09:50 David Karr 
>>
>> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan <
>> 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.
>>> 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.
>>>
>> --
>> 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/CAA5t8VpK__XPLyskiSNB_zy-mbqBQL5DNUq2-fsDkjtLJZRTEA%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/CAMgnGvYLCnzMsa4Ba8C_PwAfWTOn70g3Fyc0B5ABfuR5HZq1hg%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/CAA5t8VqATiDoj0x58MPaqgiOExaPsLJMJG%3Do76fFhDEZi_oBrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-22 Thread N Panneerrselvam
Def sresponse = sh scripts: status, return srdout: true

On Mon, Jan 21, 2019, 09:50 David Karr 
> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan <
> 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.
>> 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.
>>
> --
> 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/CAA5t8VpK__XPLyskiSNB_zy-mbqBQL5DNUq2-fsDkjtLJZRTEA%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/CAMgnGvYLCnzMsa4Ba8C_PwAfWTOn70g3Fyc0B5ABfuR5HZq1hg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-22 Thread N Panneerrselvam
Thanks David
I am executing in next line
Def respo1 = sh.script: second_reg , returnstdout : true


On Tue, Jan 22, 2019, 10:53 David Karr  On Mon, Jan 21, 2019 at 8:18 PM Panneer  wrote:
>
>> Hi David,
>>
>> My request is here below:-
>>
>> def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type:
>> application/json" -d {"DeAppRulesList":
>> [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}'
>>
>> No error and no response received.
>>
>
> Well, if these are ALL the lines involved in making this call, then the
> answer is obvious.  All you're doing is setting a string here with a
> command line to use.  You're not actually executing this command.
>
>
>> Regards
>> Panneer
>>
>>
>> On Monday, January 21, 2019 at 9:50:19 AM UTC-7, David Karr wrote:
>>>
>>>
>>> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan <
>>> pann...@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-use...@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.

>>> --
>> 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/bf8295a7-ebf9-4205-bd36-15a1c762917a%40googlegroups.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/CAA5t8VrzX73NxcttBjtgi8wzJZmXdkV98CrdV8BMoVfSb_yriQ%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/CAMgnGvYQ10-Vge_wfv%2B4zM94rVUDTfUNPH26q8cHNyS9%2B_n-4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-22 Thread Panneer

Hi Ram,

Thanks for your response,

Are you using any editor to validate before post it in pipeline? I am new.. 
can you suggest


Regards
Panneer

On Monday, January 21, 2019 at 10:42:27 PM UTC-7, Ramanathan Muthaiah wrote:
>
> My request is here below:-
>>
>> def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: 
>> application/json" -d {"DeAppRulesList": 
>> [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}'
>>
>> No error and no response received.
>>
>
> Start simple, then expand. Also, I presume you should adjust the cmd, to 
> be like, "curl . . . -X POST".
>
> Avoid using "-s" option during the initial trials. man curl is your best 
> help.
>
> Remember, getting curl working from CLI and in an automated env like 
> Jenkins involves several iterations, depending on the complexity (speaking 
> from my personal experience).
>
> /Ram 
>

-- 
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/b3bfc97e-1f43-4bda-8f4e-ee5d45559983%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-22 Thread David Karr
On Mon, Jan 21, 2019 at 8:18 PM Panneer  wrote:

> Hi David,
>
> My request is here below:-
>
> def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type:
> application/json" -d {"DeAppRulesList":
> [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}'
>
> No error and no response received.
>

Well, if these are ALL the lines involved in making this call, then the
answer is obvious.  All you're doing is setting a string here with a
command line to use.  You're not actually executing this command.


> Regards
> Panneer
>
>
> On Monday, January 21, 2019 at 9:50:19 AM UTC-7, David Karr wrote:
>>
>>
>> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan <
>> pann...@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-use...@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.
>>>
>> --
> 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/bf8295a7-ebf9-4205-bd36-15a1c762917a%40googlegroups.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/CAA5t8VrzX73NxcttBjtgi8wzJZmXdkV98CrdV8BMoVfSb_yriQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-21 Thread Ramanathan Muthaiah

>
> My request is here below:-
>
> def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: 
> application/json" -d {"DeAppRulesList": 
> [{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}'
>
> No error and no response received.
>

Start simple, then expand. Also, I presume you should adjust the cmd, to be 
like, "curl . . . -X POST".

Avoid using "-s" option during the initial trials. man curl is your best 
help.

Remember, getting curl working from CLI and in an automated env like 
Jenkins involves several iterations, depending on the complexity (speaking 
from my personal experience).

/Ram 

-- 
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/40965178-7ef0-4f58-b8d1-9f1ea828108a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-21 Thread Panneer
Hi David,

My request is here below:-

def status = "curl -s --max-time 30 POST 'https:url'" -H "Content-type: 
application/json" -d {"DeAppRulesList": 
[{"Applion":"02.01.02","Applime":"REFW"},{"Applion":"01.01.01","Applime":"ATP_Branch"},{"Applion":"01.06.07","Applime":"Temp_FW"}]}'

No error and no response received.

Regards
Panneer


On Monday, January 21, 2019 at 9:50:19 AM UTC-7, David Karr wrote:
>
>
> On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan <
> pann...@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-use...@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.
>>
>

-- 
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/bf8295a7-ebf9-4205-bd36-15a1c762917a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pass the data thru variable using curl command

2019-01-21 Thread David Karr
On Sun, Jan 20, 2019 at 8:55 PM panneerrselvam natarajan 
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.
> 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.
>

-- 
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/CAA5t8VpK__XPLyskiSNB_zy-mbqBQL5DNUq2-fsDkjtLJZRTEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.