I am trying to record Jmeter scripts against some ASP .NET application. (this application is owned by some xyz company) . The app works fine when I run it without Jmeter. As soon as I start Jmeter proxy and start recording the app dies on second page ...
Here is the exception I see on the browser. Also its https enabled so made sure the certs are present in proxyserver.jks under apache bin directory.
Invalid character in a Base-64 string.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: Invalid character in a Base-64 string.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[FormatException: Invalid character in a Base-64 string.]
System.Convert.FromBase64String(String s) +0 FirstAppBusinessLogic.DynamicPages.UrlEncryption.Decrypt(String inputText) +57 QueryStringHttpModule.context_BeginRequest(Object sender, EventArgs e) +246
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
I see a similar post here ASP.NET Invalid character in a Base-64 string
But in my case it happens only when I try to record using Jmeter. Normally with out Jmeter proxy everything seems fine.
Any help ?
-Ram
UrlEncryption
. TheEncryption
part of the name is kinda bothering me. Besides this, there's too little context in your question to diagnose this problem. – Darin Dimitrov