On Mon, Jan 21, 2019 at 8:18 PM Panneer <[email protected]> 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 < >> [email protected]> 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 [email protected]. >>> 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&utm_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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/bf8295a7-ebf9-4205-bd36-15a1c762917a%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/bf8295a7-ebf9-4205-bd36-15a1c762917a%40googlegroups.com?utm_medium=email&utm_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 [email protected]. 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.
