Forum Discussion

Sebastian_Vilst's avatar
Sebastian_Vilst
Contributor
16 years ago

"keep existing data" does not work when recreating a request - bug in 2.5 beta 2

I have a service that has some updated methods.

- First I update (the F5 option, not the refactor) the service definition
- Then I select a test step and click the recreate request button
- I get asked about optional fields and click yes
- I get asked if I want to keep the data, and click yes

When the request is recreated then it's valid for the schema but all data is replaced by a "?"

is this a bug or am I doing something wrong?

2 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    hmm.. recreating like this will only work if your new wsdl has the same namespaces and element hierarchy, otherwise you will have to use the refactoring functionality.. could this be the cause?

    regards!

    /Ole
    eviware.com
  • element hierarchy is probably different so maybe that's why.
    Perhaps it could come up with a warning instead of wiping my carefully crafted testdata?
    Or just map data in same-named fields to the new hierarchy?


    Refactoring does not work for us unfortunately. We get a nullpointerexception half-way through. I sort of assumed this was a know beta bug...