I gang

Create a CURL Script

Hi,

I need you create for me curl script that check the responses from the servers and filter them

So let me clarify it !

We have 40 differents servers listed on the server configuration file "[login to view URL]"

Each server on this list is identified by an "ID" ( un number ex : "4500" ) and an URL

What we need is to check if all the 40 servers are available and working so we will send an CURL request and see the response

We know how to do that, but the problem is that we have 40 server so every time we need to execute the CURL x 40 times !

This is the CURL :

curl -X POST -H 'Content-type:text/xml' -d @[login to view URL] https://localhost/script/

As you can see the CURL containt a XML content, we have an xml content for each server with the server ID number '[login to view URL]'

So the script will execute the same CURL request by changing the xml file name we will provide you a text file with all the 40 servers xml files everyone on a line

And the response is :

<SOAP-ENV:Envelope xmlns:SOAP-ENV="[login to view URL]">

<SOAP-ENV:Header/>

<SOAP-ENV:Body>

<ns2:Reponse xmlns:ns2="[login to view URL]">

<ns2:accord>true</ns2:accord>

<ns2:StatusEnrolement>KO</ns2:StatusEnrolement>

<ns2:Reference>22232323323</ns2:Reference>

<ns2:AcsTransId>2222222222</ns2:AcsTransId>

<ns2:ScadIdTrans>F8E90082112590</ns2:ScadIdTrans>

<ns2:ChoixAuthent>STRONG</ns2:ChoixAuthent>

<ns2:NiveauAuthent>32</ns2:NiveauAuthent>

<ns2:Retour>

<ns2:CodeMessage>03</ns2:CodeMessage>

<ns2:LibelleMessage>Téléphone OK- Mail OK</ns2:LibelleMessage>

<ns2:RetourMetier><![CDATA[<MESSAGE>

<LDISPOSITIF IDNISE="01">

<NUTELF ADRRTC="0120202020" CDPORT="O" />

<ADEMAF ADREMA="email [login to view URL]" />

</LDISPOSITIF>

<PARTENAIRESCAD IDPIVOT="F50032065474648 " />

</MESSAGE>]]></ns2:RetourMetier>

</ns2:Retour>

</ns2:Reponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

The result that we want is :

The script check all the 40 servers responses and show us the result on a table format :

Server ID | Server Name | Server HTTP code Statut | Server Accord response |

Evner: XML, Shell Script, Software Arkitektur, Linux, Test Automering

Se mere: centos create startup script, create logon script server 2003 sets background, create database script, create sql script, php create page script, yahoo answers curl script, ebay curl script, create autosubmitter script, create php script logs site grabs info, create horoscope script, create hyip script, create batch script installer, website create booking script, php create file script, create player script, create domain script, create curl script proxy log, create curl script

Om arbejdsgiveren:
( 0 bedømmelser ) Saint Egreve, France

Projekt ID: #27941490

Tildelt til:

silcorfa

Hey there, I have done similar jobs in the past. Do you need all of this to be handled in a bash script, or are you able to use some external script handler like python or something like that? It can be done with a ba Flere

€150 EUR in 7 dage
(1 bedømmelse)
1.0

7 freelancere byder i gennemsnit €122 timen for dette job

yanakhokhlova199

Hello there. I am very interested in your project. *** As shell script and curl expert ***. I can handle this and am confident of winning. So I have rich experience in this field and if you give a chance, perfect re Flere

€150 EUR in 3 dage
(4 bedømmelser)
4.4
AntonioTejeda86

Hello, I have more than 10 years of experience on opensource technologies, including bash or php scripting it will be a pleassure to help you with your project. Contact me in order to talk about it. REGARDS

€140 EUR på 1 dag
(5 bedømmelser)
4.1
ichthyocentaurs

Hello, The task is very simple, I have great experience in developing shell scripts. If you want instead shell script I can create utility with using Go language. Thank you for attention!

€30 EUR in 2 dage
(12 bedømmelser)
4.3
puneetchugh26

Hey Prospective Client, I have gone through your requirements and i can work on your assignment. I have Expert level knowledge in Shell Scripting and created various scripts for different clients to automate manual ta Flere

€89 EUR in 2 dage
(2 bedømmelser)
3.3
gattes

Hello there, I have over 10 years of work experience with Linux and I can definitely do this. Ping me and lets get it done. Cheers mate.

€120 EUR på 1 dag
(8 bedømmelser)
2.6
anhtram225

Hello there So you want the curl scripts to run all 25 url at once and display in sorted tabular format right? let me know in advanced Ngan Le

€175 EUR in 3 dage
(0 bedømmelser)
0.0