question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test Login Scenario with CSRF field

See original GitHub issue

How can i do test login scenario with csrf field in it ? like laravel or ci…

This is so far the code that i wrote

config:
  target: "http://aimsis-exam.dev"
  phases:
    -
      duration: 10
      arrivalRate: 200
  payload:
    path: "user.csv"
    fields:
      - "username"
      - "password"
scenarios:
  -
    name: "Access Page with Autoplay Music"
    flow:
      -
        get:
          url: "/test"
  -
    name: "Access Exam Web"
    flow:
      -
        post:
          url: "/login"
          body: "user={{ username }}&pass={{ password }}"

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
kevzettlercommented, Aug 22, 2018

@hassy link is broken Where can we find modern docs?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to test for Cross-Site Request Forgery? - Bright Security
Learn what cross-site request forgery testing is and how to test for CSRF vulnerabilities in your applications.
Read more >
Case Study: JMeter Load Testing User Login with CSRF ...
How to create a simple load test in JMeter. This article will walk through a simple login load test scenario with JMeter.
Read more >
Cross-site Request Forgery in Login Form - Invicti
In a login CSRF attack, the attacker forges a login request to an honest site using the attacker's user name and password at...
Read more >
Testing for Cross Site Request Forgery - OWASP Foundation
Cross-Site Request Forgery (CSRF) is an attack that forces an end user to execute unintended actions on a web application in which they...
Read more >
Login CSRF - Knowledge Base - Detectify
Login CSRF is a type of attack where the attacker can force the user to log in to the attacker's account on a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found