2016-08-29 4 views
0

오류가 발생합니다. 스크립트가 스크린 샷에 첨부되었습니다. 해결책을 단계별로 알려주십시오."특수 문자 및 알파 ..."스크립트를 실행하는 동안 jmeter에서 오류가 발생했습니다.

          <span class="left tooltip_link"><a href="#" class="tooltip-right" data-tooltip="Not used in timetable, purely used for search purposes later"><i class="fa fa-question-circle"></i></a></span> 
             </td> 
            </tr> 
            <tr> 
             <td class="text-right" width="200"> 
              <label for="ContentPlaceHolder1_txtDescription" id="ContentPlaceHolder1_lblDescription">Description : </label> 
             </td> 
             <td> 
              <input name="ctl00$ContentPlaceHolder1$txtDescription" type="text" value="290802016 " maxlength="200" id="ContentPlaceHolder1_txtDescription" title="Enter Description" class="left" style="width:150px;" /> 
              <span class="left tooltip_link"><a href="#" class="tooltip-right" data-tooltip="Not used in timetable, purely used for search purposes later"><i class="fa fa-question-circle"></i></a></span> 
             </td> 
            </tr> 
           </table> 
          </div> 
          <div class="clear"> 
           <span id="ContentPlaceHolder1_rfvFileName" class="FontClass" style="display:none;"></span> 
           <span id="ContentPlaceHolder1_rfvValidFileName" class="FontClass" style="display:none;"></span> 
           <span id="ContentPlaceHolder1_rfvDesc" class="FontClass" style="display:none;"></span> 
           <span id="ContentPlaceHolder1_rfvValidDescription" class="FontClass" style="display:none;"></span> 
          </div> 
         </div> 
        </div> 
        <div class="mar-bot-10 clear"> 

         <input type="submit" name="ctl00$ContentPlaceHolder1$btnAdd" value="Save" onclick="DataTool.ValidateAndToggleVisiblity(Page_ClientValidate(&#39;valForSchedule&#39;));WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ContentPlaceHolder1$btnAdd&quot;, &quot;&quot;, true, &quot;valForSchedule&quot;, &quot;&quot;, false, false))" id="ContentPlaceHolder1_btnAdd" title="Click to add new schedule" class="btn-clear" /> 
         <input type="submit" name="ctl00$ContentPlaceHolder1$btnReset" value="Reset" id="ContentPlaceHolder1_btnReset" class="btn-clear" /> 
        </div> 
       |0|hiddenField|__EVENTTARGET||0|hiddenField|__EVENTARGUMENT||452|hiddenField|__VIEWSTATE|/wEPBbgCSDRzSUFBQUFBQUFFQVB2UHlNL0thV2x1YW1CbWJHUm96cDhpeHBRR0lwZ1lnYVJBR3I4WWt4eG5abDVlYWxGR1NXNE9xNWROY1VsUmZsNjZuWDlBaUdkd3ZHTktibWFlalQ1VVRLRkd3U1pSSWFNb05jMVdYVmxkSVQ4dk9TY3pPZHRXM1NjLzNiKzBSRVBUV3QwT3lGUUFzbTMwRSsxU21KaEJock9BMUxQS1pwU1VGRmpwNjJjbUp4YVZGaGNVNk9VWGxHUVdKeFlVRk9zbDUrZW1NQW1CbExLSFpSWm5KdVdrWnFRd0NRUDU4a3pwS1V4eU1JWUNqS0VJWTZoQ3ZRRzJKU1Mxb29SVnhMa29OYkVrVmNIVktUaElJVGc1SXpXbE5DYzFKUVVBY3dqaFdRSUJBQUE9ZBpxCDqRIEungR80i/4HRMqKquCH|8|hiddenField|__VIEWSTATEGENERATOR|29933832|0|asyncPostBackControlIDs|||0|postBackControlIDs|||72|updatePanelIDs||tctl00$ContentPlaceHolder1$UpdatePanel1,ContentPlaceHolder1_UpdatePanel1|0|childUpdatePanelIDs|||71|panelsToRefreshIDs||ctl00$ContentPlaceHolder1$UpdatePanel1,ContentPlaceHolder1_UpdatePanel1|4|asyncPostBackTimeout||3600|18|formAction||./AddSchedule.aspx|12|pageTitle||Add Schedule|57|arrayDeclaration|Page_ValidationSummaries|document.getElementById("ContentPlaceHolder1_vldSummary")|58|arrayDeclaration|Page_Validators|document.getElementById("ContentPlaceHolder1_rfvFileName")|63|arrayDeclaration|Page_Validators|document.getElementById("ContentPlaceHolder1_rfvValidFileName")|54|arrayDeclaration|Page_Validators|document.getElementById("ContentPlaceHolder1_rfvDesc")|66|arrayDeclaration|Page_Validators|document.getElementById("ContentPlaceHolder1_rfvValidDescription")|194|scriptBlock|ScriptPath|/data/ScriptResource.axd?d=PIkWxDViaZE5PI1d5VC9u3oaIGXTi2MiwQcE00IlXrZtNMOjZbsuJ0QIWWw4HReSlnuBaIUBUZZbJyN_wtr3SycmM_LR-6SrO9qBExQmsX44PlsjganwUlmgp8zJhCIB2B9n40PUePHmOsGPVqSntMHbDWA1&t=1c6690ce|267|scriptStartupBlock|ScriptContentNoTags| 
    (function(id) { 
     var e = document.getElementById(id); 
     if (e) { 
      e.dispose = function() { 
       Array.remove(Page_ValidationSummaries, document.getElementById(id)); 
      } 
      e = null; 
     } 
    })('ContentPlaceHolder1_vldSummary'); 
    |281|scriptStartupBlock|ScriptContentNoTags| 
    var Page_ValidationActive = false; 
    if (typeof(ValidatorOnLoad) == "function") { 
     ValidatorOnLoad(); 
    } 

    function ValidatorOnSubmit() { 
     if (Page_ValidationActive) { 
      return ValidatorCommonOnSubmit(); 
     } 
     else { 
      return true; 
     } 
    } 
      |184|scriptStartupBlock|ScriptContentNoTags| 
    document.getElementById('ContentPlaceHolder1_rfvFileName').dispose = function() { 
     Array.remove(Page_Validators, document.getElementById('ContentPlaceHolder1_rfvFileName')); 
    } 
    |194|scriptStartupBlock|ScriptContentNoTags| 
    document.getElementById('ContentPlaceHolder1_rfvValidFileName').dispose = function() { 
     Array.remove(Page_Validators, document.getElementById('ContentPlaceHolder1_rfvValidFileName')); 
    } 
    |176|scriptStartupBlock|ScriptContentNoTags| 
    document.getElementById('ContentPlaceHolder1_rfvDesc').dispose = function() { 
     Array.remove(Page_Validators, document.getElementById('ContentPlaceHolder1_rfvDesc')); 
    } 
    |200|scriptStartupBlock|ScriptContentNoTags| 
    document.getElementById('ContentPlaceHolder1_rfvValidDescription').dispose = function() { 
     Array.remove(Page_Validators, document.getElementById('ContentPlaceHolder1_rfvValidDescription')); 
    } 
    |90|onSubmit||if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;|6|expando|document.getElementById('ContentPlaceHolder1_vldSummary')['displaymode']|"List"|16|expando|document.getElementById('ContentPlaceHolder1_vldSummary')['validationGroup']|"valForSchedule"|37|expando|document.getElementById('ContentPlaceHolder1_rfvFileName')['controltovalidate']|"ContentPlaceHolder1_txtScheduleName"|3|expando|document.getElementById('ContentPlaceHolder1_rfvFileName')['focusOnError']|"t"|27|expando|document.getElementById('ContentPlaceHolder1_rfvFileName')['errormessage']|"Schedule name is required"|6|expando|document.getElementById('ContentPlaceHolder1_rfvFileName')['display']|"None"|16|expando|document.getElementById('ContentPlaceHolder1_rfvFileName')['validationGroup']|"valForSchedule"|39|expando|document.getElementById('ContentPlaceHolder1_rfvFileName')['evaluationfunction']|"RequiredFieldValidatorEvaluateIsValid"|2|expando|document.getElementById('ContentPlaceHolder1_rfvFileName')['initialvalue']|""|37|expando|document.getElementById('ContentPlaceHolder1_rfvValidFileName')['controltovalidate']|"ContentPlaceHolder1_txtScheduleName"|3|expando|document.getElementById('ContentPlaceHolder1_rfvValidFileName')['focusOnError']|"t"|129|expando|document.getElementById('ContentPlaceHolder1_rfvValidFileName')['errormessage']|"Schedule name should only contain \u0027_\u0027 as special character and alpha numeric values with max lenght of 50 characters."|6|expando|document.getElementById('ContentPlaceHolder1_rfvValidFileName')['display']|"None"|16|expando|document.getElementById('ContentPlaceHolder1_rfvValidFileName')['validationGroup']|"valForSchedule"|43|expando|document.getElementById('ContentPlaceHolder1_rfvValidFileName')['evaluationfunction']|"RegularExpressionValidatorEvaluateIsValid"|23|expando|document.getElementById('ContentPlaceHolder1_rfvValidFileName')['validationexpression']|"^[A-Za-z0-9 _]{1,50}$"|36|expando|document.getElementById('ContentPlaceHolder1_rfvDesc')['controltovalidate']|"ContentPlaceHolder1_txtDescription"|3|expando|document.getElementById('ContentPlaceHolder1_rfvDesc')['focusOnError']|"t"|25|expando|document.getElementById('ContentPlaceHolder1_rfvDesc')['errormessage']|"Description is required"|6|expando|document.getElementById('ContentPlaceHolder1_rfvDesc')['display']|"None"|16|expando|document.getElementById('ContentPlaceHolder1_rfvDesc')['validationGroup']|"valForSchedule"|39|expando|document.getElementById('ContentPlaceHolder1_rfvDesc')['evaluationfunction']|"RequiredFieldValidatorEvaluateIsValid"|2|expando|document.getElementById('ContentPlaceHolder1_rfvDesc')['initialvalue']|""|36|expando|document.getElementById('ContentPlaceHolder1_rfvValidDescription')['controltovalidate']|"ContentPlaceHolder1_txtDescription"|3|expando|document.getElementById('ContentPlaceHolder1_rfvValidDescription')['focusOnError']|"t"|128|expando|document.getElementById('ContentPlaceHolder1_rfvValidDescription')['errormessage']|"Description should only contain \u0027_\u0027 as special character and alpha numeric values with max lenght of 200 characters."|6|expando|document.getElementById('ContentPlaceHolder1_rfvValidDescription')['display']|"None"|16|expando|document.getElementById('ContentPlaceHolder1_rfvValidDescription')['validationGroup']|"valForSchedule"|43|expando|document.getElementById('ContentPlaceHolder1_rfvValidDescription')['evaluationfunction']|"RegularExpressionValidatorEvaluateIsValid"|24|expando|document.getElementById('ContentPlaceHolder1_rfvValidDescription')['validationexpression']|"^[A-Za-z0-9 _]{1,200}$"| 

답변

0

Script

당신은 당신이 "ScheduleName"와 "설명"에 대한 타임 스탬프를 사용하는 것처럼 즉 Regular Expression Extractor으로 적어도 __VIEWSTATE__VIEWSTATEGENERATOR 값의 상관 관계를해야합니다.

웹에서 "JMeter Correlation"을 검색하십시오. 주제에 대한 많은 정보가 있습니다.

.NET 응용 프로그램의 경우 ASP.NET Login Testing with JMeter 가이드

관련 문제