Fixed.  Simple off by one error.

Charles

Enrico Hartung <[EMAIL PROTECTED]> wrote on 05/03/2007 12:23:29 PM:

> Hi,
> 
> I was wrong. Sipp loads the correct file. But the behavior is still 
> different than I expect:
> 
> The template file:
> 
> SEQUENTIAL
> [#U1_USERNAME#];[#U1_DOMAIN#];[authentication username=[#U1_AUTHNAME#] 
> password=[#U1_PASSWORD#]];
> [#U2_USERNAME#];[#U2_DOMAIN#];[authentication username=[#U2_AUTHNAME#] 
> password=[#U2_PASSWORD#]];
> 
> 
> The generated file (I only need one user in this scenario):
> 
> SEQUENTIAL
> testuser001;osser.sip-router.org;[authentication username=testuser001 
> password=xxx];
> [#U2_USERNAME#];[#U2_DOMAIN#];[authentication username=[#U2_AUTHNAME#] 
> password=[#U2_PASSWORD#]];
> 
> sipp r204 takes the first line (as I expect), but sipp r216 takes the 
> second line ...
> 
> (I thought that sipp loads the template file because I saw the wildcards 

> of the second line in the sip trace)
> 
> Do you know why sipp is using the second line instead of the first one, 
> although 'sequential' is used?
> 
> I hope you understand my problem ...
> 
> 
> --Enrico
> 
> 
> 
> Charles P Wright wrote:
> >
> > Enrico,
> >
> > This actually has me very confused, the file is opened exactly the 
> > same as before:
> >
> > FileContents::FileContents(const char *fileName) {
> >   ifstream *inFile    = new ifstream(fileName);
> >
> > There is no code for file patterns or anything like that, so I am 
> > wondering if maybe the shell is doing something that is confusing it 
> > in ways that it wasn't confused before.   Do you have a script for 
> > running SIPp that makes use of wildcards or something similar?
> >
> > Charles
> >
> > Enrico Hartung <[EMAIL PROTECTED]> wrote on 05/03/2007 11:52:48 AM:
> >
> > > Hi Charles,
> > >
> > > it's me again ;-)
> > >
> > > Now I can compile sipp without errors.
> > > But I have some problems with your new feature (multiple infiles):
> > >
> > > I'm using sipp in a test framework. This framework is generating the
> > > include files for sipp before starting sipp. Therefor it needs 
template
> > > files like "include.csv.tmpl" which is the template for 
"include.csv".
> > > Now when I wanna include "include.csv" into sipp it loads
> > > "include.csv.tmpl" instead. So I guess sipp is no more checking the
> > > complete file name (exact match), right?
> > >
> > > I hope this behavior is only a bug and not needed by your feature 
> > ... is
> > > it possible to change it back to exact match checking?
> > >
> > > --Enrico
> > >
> > >
> > > Charles P Wright wrote:
> > > >
> > > > Enrico,
> > > >
> > > > No unit testing, but interestingly my STL headers managed to pull 
in
> > > > assert.h without me doing it so it compiled on my RHEL4 derived
> > > > distribution.  New fix checked in.
> > > >
> > > > Thanks for trying this out and having the fortitude to put up with
> > > > these errors,
> > > > Charles
> > > >
> > > > Enrico Hartung <[EMAIL PROTECTED]> wrote on 05/03/2007 11:09:34 AM:
> > > >
> > > > > Hi,
> > > > >
> > > > > the error is solved, but here's another one:
> > > > >
> > > > > actions.cpp: In member function `void 
CAction::setAction(CAction)':
> > > > > actions.cpp:303: error: `assert' undeclared (first use this 
> > function)
> > > > > actions.cpp:303: error: (Each undeclared identifier is reported 
only
> > > > > once for
> > > > >    each function it appears in.)
> > > > > make[1]: *** [actions.o] Error 1
> > > > >
> > > > > looks like you're using a unit test framework ...
> > > > >
> > > > > --Enrico
> > > > >
> > > > >
> > > > > Charles P Wright wrote:
> > > > > >
> > > > > > Enrico,
> > > > > >
> > > > > > I apologize for the compile error.  I am not yet used to SVN 
and
> > > > > > forgot to add these two files to the repository before I ran 
SVN
> > > > > > commit.  You should be able to update and compile now.
> > > > > >
> > > > > > Charles
> > > > > >
> > > > > > [EMAIL PROTECTED] wrote on 05/03/2007
> > > > 09:39:48 AM:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > the last revision in the repository I can compile with 'make
> > > > ossl' is
> > > > > > > 204. All later revisions run into errors:
> > > > > > >
> > > > > > > here is the latest error message(r214):
> > > > > > >
> > > > > > > In file included from scenario.cpp:30:
> > > > > > > sipp.hpp:64:22: infile.hpp: No such file or directory
> > > > > > > In file included from scenario.cpp:30:
> > > > > > > sipp.hpp:263: error: `FileContents' was not declared in this 

> > scope
> > > > > > > sipp.hpp:263: error: parse error before `>' token
> > > > > > > sipp.hpp:264: error: syntax error before `;' token
> > > > > > >
> > > > > > > cheers,
> > > > > > > Enrico
> > > > > > >
> > > > > > > [attachment "smime.p7s" deleted by Charles P 
Wright/Watson/IBM]
> > > > > > >
> > > > > >
> > > > 
> > 
-------------------------------------------------------------------------
> > > > > > > This SF.net email is sponsored by DB2 Express
> > > > > > > Download DB2 Express C - the FREE version of DB2 express and 

> > take
> > > > > > > control of your XML. No limits. Just data. Click to get it 
now.
> > > > > > > http://sourceforge.net/powerbar/db2/
> > > > > > > _______________________________________________
> > > > > > > Sipp-users mailing list
> > > > > > > Sipp-users@lists.sourceforge.net
> > > > > > > https://lists.sourceforge.net/lists/listinfo/sipp-users
> > > > >
> > >
> 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to