Skip to content

Base64 Decode and match #8781

Closed Answered by princechaddha
random-robbie asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @random-robbie, The response time to this issue was much longer than usual. You can do so using a extractor and dsl matcher

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers:
      - type: dsl
        dsl:
          - base64_decode(string) == "test"

    extractors:
      - type: regex
        part: body
        name: string
        group: 1
        internal: true
        regex:
          - <text>([a-zA-Z=]+)<\/text>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by princechaddha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants