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 <[email protected]> wrote: > Def sresponse = sh scripts: status, return srdout: true > > On Mon, Jan 21, 2019, 09:50 David Karr <[email protected] 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/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&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/CAMgnGvYLCnzMsa4Ba8C_PwAfWTOn70g3Fyc0B5ABfuR5HZq1hg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAMgnGvYLCnzMsa4Ba8C_PwAfWTOn70g3Fyc0B5ABfuR5HZq1hg%40mail.gmail.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/CAA5t8VqATiDoj0x58MPaqgiOExaPsLJMJG%3Do76fFhDEZi_oBrA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
