ScriptGenerator icon indicating copy to clipboard operation
ScriptGenerator copied to clipboard

New Error

Open krishnakanthpps opened this issue 9 years ago • 10 comments

I am trying to convert a fiddler recording for a fiddler recording. This is for a https page. Here is the error.

Unhandled Exception : System.InvalidOperationException:Sequence contains no elements at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source) at Abstracta.Generators.Framework.AbstractGenerator.AbstractStep.AddRequest(Session httpReq, Page page)

Can you help?

krishnakanthpps avatar Aug 11 '16 11:08 krishnakanthpps

Hi! Are you using GUI generator or by command line? Could you share a capture showing the invocation? Thank you!

leticiaalmeida avatar Aug 11 '16 12:08 leticiaalmeida

using the CLI. it is an https site. internal site, so cant really share much info.

recorded 2 session and then trying to jmeter script from it.

krishnakanthpps avatar Aug 11 '16 20:08 krishnakanthpps

any help?

krishnakanthpps avatar Aug 12 '16 11:08 krishnakanthpps

We need to be able to reproduce the issue in order to help you. Could you give us one case where this error happens?

Did you download the code and compiled it or are you using the .exe?

sebastianlorenzo avatar Aug 12 '16 18:08 sebastianlorenzo

Hi, just to be sure.. Did u add comments to the fiddler script?

Thanks,

El 12 ago. 2016 18:29, "sebastianlorenzo" [email protected] escribió:

We need to be able to reproduce the issue in order to help you. Could you give us one case where this error happens?

Did you download the code and compiled it or are you using the .exe?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abstracta/ScriptGenerator/issues/7#issuecomment-239524368, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNoUltpnqYEqURoaUulMUcZ4rzhnxw3ks5qfLuagaJpZM4JiByZ .

sdeuvarow avatar Aug 13 '16 23:08 sdeuvarow

Do you try this? 1 - Go to generator_path\trunk\Binaries .NET 4.5, 2 - Open Abstracta.ScriptGeneratorGUI_4.5.exe 3 - Complete the fields: untitled

leticiaalmeida avatar Aug 15 '16 14:08 leticiaalmeida

Tried it. It also says sequence missing.

Get Outlook for Android

On Mon, Aug 15, 2016 at 8:29 PM +0530, "leticiaalmeida" [email protected] wrote:

Do you try this?

1 - Go to generator_path\trunk\Binaries .NET 4.5,

2 - Open Abstracta.ScriptGeneratorGUI_4.5.exe

3 - Complete the fields:

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

krishnakanthpps avatar Aug 15 '16 15:08 krishnakanthpps

Yes. Tried the GUI as well . It also says "Sequence contains no elements". I tried to see if there was anything that needed to put inside XML GxTest file, but could not find anything.

I inserted comments. All I did was launch https page and then do a login. This is a secure page, so has multiple redirections. Could that be an issue.

Even thought it just has 2 actions, but there are multiple urls and multiple redirections.

krishnakanthpps avatar Aug 15 '16 18:08 krishnakanthpps

are you decrypting the HTTPs traffic captured by Fiddler?

capture

sebastianlorenzo avatar Aug 15 '16 19:08 sebastianlorenzo

I think yes. Let me check that tomorrow and provide you an update.

Get Outlook for Android

On Tue, Aug 16, 2016 at 12:47 AM +0530, "sebastianlorenzo" [email protected] wrote:

are you decrypting the HTTPs traffic captured by Fiddler?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

krishnakanthpps avatar Aug 15 '16 19:08 krishnakanthpps