bench/scripts/cud_script.rb in rhoconnect-3.3.1.beta4 vs bench/scripts/cud_script.rb in rhoconnect-3.3.1

- old
+ new

@@ -46,10 +46,10 @@ session.post "clientcreate", "#{config.host}/rc/#{Rhoconnect::API_VERSION}/clients" session.client_id = JSON.parse(session.last_result.body)['client']['client_id'] create_objs = @create_objects[session.thread_id][session.iteration] session.post "create-object", - "#{config.host}/app/#{Rhoconnect::API_VERSION}/#{config.adapter_name}/queue_updates", + "#{config.host}/app/#{Rhoconnect::API_VERSION}/#{config.adapter_name}", {:content_type => :json, 'X-RhoConnect-CLIENT-ID' => session.client_id} do {:create => create_objs}.to_json end session.last_result.verify_code(200) sleep rand(10) \ No newline at end of file