Forum Discussion

rrbs's avatar
rrbs
Occasional Contributor
7 years ago
Solved

[solved] check response attrtibutes

Hi,

can i check "REST" API response attributes for specific values.

The attributes should be tested on 2-3 matches.

Can you help me?

I hope it is understandable. My English is not very good.

 

Best regards   rrbs

  • Does the username or password contains characters, other than alphanumeric characters i.e. @ # & () – [ { } ] : ; ', ? / * 

    I wonder if using the constant values instead, will help?

    [NumAsterisk] Num * (* on the numeric keyboard)
    [NumLock] Num Lock
    [NumMinus] Num - (- on the numeric keyboard)
    [NumPlus] Num + (+ on the numeric keyboard)
    [NumSlash] Num / (/ on the numeric keyboard)

4 Replies

    • rrbs's avatar
      rrbs
      Occasional Contributor

      ah, ok.

      I have the following response:

      {"LinkType": [
            {
            "Pointed": 0,
            "TypeID": 1,
            "Source": "Ticket",
            "Target": "Ticket",
            "TargetName": "Normal",
            "SourceName": "Normal",
            "Name": "Normal"
         },
            {
            "TypeID": 2,
            "Source": "Ticket",
            "Pointed": 1,
            "TargetName": "Child",
            "SourceName": "Parent",
            "Name": "ParentChild",
            "Target": "Ticket"
         }
      ]}

      and I would like to check the following attributes:

      "TargetName"eq"Child",
       "SourceName"eq"Parent",
    • Hi all,

       

      mgroen2Radford, thank you for your replies!

       

      rrbs, is your question answered? If so, could you please mark the reply that answers your question as Solution so that other users could find it easier?

       

      Or, do you have any additional information for us?