   async.each raml.resources, (resource, callback) ->
     path = resource.relativeUri
     params = {}
+    query = {}
+    console.log('callback addtests' +'dir resoure :/n')
+    # console.log(JSON.stringify(resource, null, 2))
+    # console.log(JSON.stringify(resource.resources[0].methods, null, 2))
 
     # Apply parent properties
     if parent
       path = parent.path + path
       params = _.clone parent.params
+      queryparent = _.clone parent.query
+      console.log('parent query is :')
+      console.log(JSON.stringify(queryparent, null, 2))
+
 
     # Setup param
     if resource.uriParameters
+      console.dir('your uriParameters' + resource.uriParameters)
       for key, param of resource.uriParameters
         params[key] = param.example
+
 
     # In case of issue #8, resource does not define methods
     resource.methods ?= []

          catch
            console.warn "cannot parse JSON example request body for #{test.name}"
        test.request.params = params

        # Update test.response
        test.response.status = status

    # Iterate response method
    async.each resource.methods, (api, callback) ->
      method = api.method.toUpperCase()
      # Setup query
      if api.queryParameters

        console.log('your methods.queryParameters is ' + api.queryParameters )
        console.log(JSON.stringify(api.queryParameters, null, 2))

        for qkey, qvalue of api.queryParameters
          query[qkey] = qvalue.example
          # console.log('qkey is :'  + 'qvalue is : qvalue.example' )
        console.log('the queryParameters is:' + query )
        console.log(JSON.stringify(query, null, 2))



      # Iterate response status
      for status, res of api.responses
