jmeter - Why is JMeter showing an undefined variable error in the response body even if the web page is working properly if I run it manually?
问题描述
(1/1)
ErrorException
Undefined index: current_institute_idI am getting above error in jmeter response body but its working fine if i run web page manually . Also i have passed the value of current institute in request.
<div class="container">
<div class="trace trace-as-html">
<table class="trace-details">
<thead class="trace-head"><tr><th>
<h3 class="trace-class">
<span class="text-muted">(1/1)</span>
<span class="exception_title"><abbr title="ErrorException">ErrorException</abbr></span>
</h3>
<p class="break-long-words trace-message">Undefined index: current_institute_id</p>
</th></tr></thead>
<tbody><tr><td><span class="block trace-file-path">in <span title="/var/www/html/mycc/t11/app/Http/Controllers/inquiry/AdmissionFormController.php line 1666"><strong>AdmissionFormController.
解决方案
正如我在屏幕截图中看到的那样,所提供的信息不足以彻底调查问题。但我可以注意到服务器无法识别您发送的数据。这意味着您可能正在发送服务器不期望的数据。
解决方法是了解流程后手动记录脚本。找了一个视频来解释这个过程。也许它会帮助您了解手动录制的方式,而不是依赖最终误导您的工具。
https://www.youtube.com/watch?time_continue=10&v=Njjz1kzS24E
我不确定这会对您提供的信息有所帮助。但它可能会引导您找到解决方案
推荐阅读
- javascript - JS & HTML - 我如何将随机视频嵌入到
? - javascript - 图片不对齐
- asp.net-core - SignalR ASP.NET Core 5/3.1 连接限制
- php - PHP递归计算数组中的公式
- github-actions - GitHub Action .yml 工作流程的 DRY 选项是什么?
- html - 直接从我的计算机查看文件时 CSS 加载完美,但是当文件在服务器上时某些 CSS 规则没有加载
- c++ - CLIPS EnvAssertString API-function 性能慢
- python - pafy 没有下载成功。我该如何解决?
- c++ - 未找到 OpenCV 库 - 带有柯南的 cmake
- python - 如何正确地将 3D 张量重塑为 2D 前向线性层,然后重塑与旧 3D 相对应的新 3D 张量纤维