Forum Discussion

gacekk's avatar
gacekk
Occasional Contributor
6 months ago
Solved

Zephyr API Requirements „Imported” folder

Hi,
I am using request „External Requirement” to import USs from Jira. They appear under Imported folder. I would like to then use these requirements and map them to test cases. However, I am trying both requirement tree request or the advanced search request, with no luck. I am getting only requirements that are already there moved by user to release folder or project level folder. Am I missing something here? Or is there no way to get requirement tree id through api for the folders under Imported?

  • hey darreck 

     

    I'm a little confused.  I had a look at the .zip files you attached.

     

    Firstly I noticed the .wsdl .zip archives had lots of .wsdls and the .xsd .zip archive had lots of .xsds.

     

    I noticed that your .wsdl files uses the embedded inline approach for schema definition - so the SOAP messages that are defined in your .wsdl have all their schema definitions contained within the .wsdl file.

     

    schemas are used to validate the content of an .xml - so typically your SOAP webservice (defined by the .wsdl) woudl validate the content and formatting of a request once it is received by the listening webservice.  With this in mind, I don't understand why you are trying to add in the .xsd files - as far as I'm understanding there's no added value in adding in those .xsd files anyway - but even then - if you are trying to submit a request to a webservice - your requests will be passed via the schema when its consumed by the webservice and so theres just no upside to adding in the schema files - which you cant add to a testsuite anyway.  your testsuite includes SOAP/XML request payloads - but you wouldn't add in a schema into your testsuite.

     

    I dont know if I'm just misunderstanding what you're after - can you clarify?

     

    In summary - with my current understanding of your situation - if you create a new project from the .wsdl, then create some SOAP requests within a testcase sourcing the SOAP definition from the .wsdl - you'll be able to submit the request and get a response back wihtout any trouble.

     

    Am I just not understanding the problem?

     

    cheers,

     

    rich

6 Replies