{"action":"created","issue":{"url":"https://api.github.com/repos/demoiselle/behave/issues/303","labels_url":"https://api.github.com/repos/demoiselle/behave/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/demoiselle/behave/issues/303/comments","events_url":"https://api.github.com/repos/demoiselle/behave/issues/303/events","html_url":"https://github.com/demoiselle/behave/issues/303","id":55002850,"number":303,"title":"Erro na integração com o ALM - 400 Bad Request","user":{"login":"rogernobre","id":3092623,"avatar_url":"https://avatars.githubusercontent.com/u/3092623?v=3","gravatar_id":"","url":"https://api.github.com/users/rogernobre","html_url":"https://github.com/rogernobre","followers_url":"https://api.github.com/users/rogernobre/followers","following_url":"https://api.github.com/users/rogernobre/following{/other_user}","gists_url":"https://api.github.com/users/rogernobre/gists{/gist_id}","starred_url":"https://api.github.com/users/rogernobre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogernobre/subscriptions","organizations_url":"https://api.github.com/users/rogernobre/orgs","repos_url":"https://api.github.com/users/rogernobre/repos","events_url":"https://api.github.com/users/rogernobre/events{/privacy}","received_events_url":"https://api.github.com/users/rogernobre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/demoiselle/behave/labels/erro","name":"erro","color":"f45252"},{"url":"https://api.github.com/repos/demoiselle/behave/labels/pendente-resposta","name":"pendente-resposta","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"juliancesar","id":4247825,"avatar_url":"https://avatars.githubusercontent.com/u/4247825?v=3","gravatar_id":"","url":"https://api.github.com/users/juliancesar","html_url":"https://github.com/juliancesar","followers_url":"https://api.github.com/users/juliancesar/followers","following_url":"https://api.github.com/users/juliancesar/following{/other_user}","gists_url":"https://api.github.com/users/juliancesar/gists{/gist_id}","starred_url":"https://api.github.com/users/juliancesar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliancesar/subscriptions","organizations_url":"https://api.github.com/users/juliancesar/orgs","repos_url":"https://api.github.com/users/juliancesar/repos","events_url":"https://api.github.com/users/juliancesar/events{/privacy}","received_events_url":"https://api.github.com/users/juliancesar/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/demoiselle/behave/milestones/15","labels_url":"https://api.github.com/repos/demoiselle/behave/milestones/15/labels","id":889914,"number":15,"title":"1.4.1","description":"Correções e pequenas melhorias na versão 1.4.0.","creator":{"login":"juliancesar","id":4247825,"avatar_url":"https://avatars.githubusercontent.com/u/4247825?v=3","gravatar_id":"","url":"https://api.github.com/users/juliancesar","html_url":"https://github.com/juliancesar","followers_url":"https://api.github.com/users/juliancesar/followers","following_url":"https://api.github.com/users/juliancesar/following{/other_user}","gists_url":"https://api.github.com/users/juliancesar/gists{/gist_id}","starred_url":"https://api.github.com/users/juliancesar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliancesar/subscriptions","organizations_url":"https://api.github.com/users/juliancesar/orgs","repos_url":"https://api.github.com/users/juliancesar/repos","events_url":"https://api.github.com/users/juliancesar/events{/privacy}","received_events_url":"https://api.github.com/users/juliancesar/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":7,"state":"open","created_at":"2014-12-03T12:50:55Z","updated_at":"2015-01-21T12:39:42Z","due_on":"2015-01-31T02:00:00Z","closed_at":null},"comments":8,"created_at":"2015-01-21T10:42:22Z","updated_at":"2015-01-28T14:08:47Z","closed_at":null,"body":"Mesmo com a propriedade \"behave.integration.alm.autoAssociateTestCaseInPlan=false\" e sem link para requisito, está dando erro ao enviar caso de testes: \r\n\r\n18:03:16,060 DEBUG (pool-4-thread-1) [ALMIntegration]: Acessando ao autenticador ALM\r\n18:03:16,068 DEBUG (pool-4-thread-1) [ALMIntegration]: ------------- IntegraÃ§Ã£o ALM Iniciada -------------\r\n\r\n18:03:16,068 DEBUG (pool-4-thread-1) [ALMIntegration]: Autenticando usuário [01069360503]\r\n18:03:16,544 DEBUG (pool-4-thread-1) [ALMIntegration]: Enviando Caso de Teste:\r\n\r\n18:03:16,551 DEBUG (pool-4-thread-1) [ALMIntegration]: https://alm.serpro/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/e-Processo+%28Gerenciamento+de+Qualidade%29/testcase/testcaseNovousuarioacessaatela(criteriospadroes)\r\n18:03:16,551 DEBUG (pool-4-thread-1) [ALMIntegration]: \r\n```xml\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\r\n<ns4:testcase xmlns:ns2=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:ns4=\"http://jazz.net/xmlns/alm/qm/v0.1/\" xmlns:ns3=\"http://jazz.net/xmlns/alm/v0.1/\" xmlns:ns5=\"http://purl.org/dc/elements/1.1/\">\r\n    <ns5:title>Novo usuário acessa a tela (critérios padrões)</ns5:title>\r\n    <ns4:weight>100</ns4:weight>\r\n    <ns4:priority ns4:resource=\"https://alm.serpro/qm/service/com.ibm.rqm.integration.service.IIntegrationService/process-info/_EX3W1K3iEeKZTtTZfLxNXw/priority/literal.priority.101\">literal.priority.101</ns4:priority>\r\n    <ns4:suspect>false</ns4:suspect>\r\n    <com.ibm.rqm.planning.editor.section.testCaseDesign extensionDisplayName=\"RQM-KEY-TC-DESIGN-TITLE\">&lt;br/&gt;Dado que vou para a tela &amp;#34;Consultar Processo Java&amp;#34;&lt;br/&gt;Ent&amp;#227;o ser&amp;#225; exibido na tabela &amp;#34;Filtro de pesquisa&amp;#34; os valores: &lt;br/&gt;|Palavra-Chave|&lt;br/&gt;|star.png.jsf CPF Respons&amp;#225;vel Atual|&lt;br/&gt;|star.png.jsf Data do Protocolo|&lt;br/&gt;|star.png.jsf NI Contribuinte|&lt;br/&gt;|star.png.jsf Unidade Atual, Equipe Atual e/ou Atividade Atual|&lt;br/&gt;|star.png.jsf N&amp;#250;mero de Inscri&amp;#231;&amp;#227;o|&lt;br/&gt;|star.png.jsf N&amp;#250;mero Processo|&lt;br/&gt;Quando informo &amp;#34;N&amp;#250;mero Ac&amp;#243;rd&amp;#227;o DRJ&amp;#34; no campo &amp;#34;Selecionar palavra-chave&amp;#34;&lt;br/&gt;Ent&amp;#227;o ser&amp;#225; exibido na tabela &amp;#34;Filtro de pesquisa&amp;#34; os valores:&lt;br/&gt;|Palavra-Chave|&lt;br/&gt;|star.png.jsf CPF Respons&amp;#225;vel Atual|&lt;br/&gt;|star.png.jsf Data do Protocolo|&lt;br/&gt;|star.png.jsf NI Contribuinte|&lt;br/&gt;|star.png.jsf Unidade Atual, Equipe Atual e/ou Atividade Atual|&lt;br/&gt;|star.png.jsf N&amp;#250;mero de Inscri&amp;#231;&amp;#227;o|&lt;br/&gt;|star.png.jsf N&amp;#250;mero Processo|&lt;br/&gt;|starCinza.png.jsf N&amp;#250;mero Ac&amp;#243;rd&amp;#227;o DRJ|&lt;br/&gt;Quando vou para a tela &amp;#34;Consultar Processo Java&amp;#34;&lt;br/&gt;Ent&amp;#227;o ser&amp;#225; exibido na tabela &amp;#34;Filtro de pesquisa&amp;#34; os valores:&lt;br/&gt;|Palavra-Chave|&lt;br/&gt;|star.png.jsf CPF Respons&amp;#225;vel Atual|&lt;br/&gt;|star.png.jsf Data do Protocolo|&lt;br/&gt;|star.png.jsf NI Contribuinte|&lt;br/&gt;|star.png.jsf Unidade Atual, Equipe Atual e/ou Atividade Atual|&lt;br/&gt;|star.png.jsf N&amp;#250;mero de Inscri&amp;#231;&amp;#227;o|&lt;br/&gt;|star.png.jsf N&amp;#250;mero Processo|</com.ibm.rqm.planning.editor.section.testCaseDesign>\r\n</ns4:testcase>\r\n```\r\n\r\n18:03:17,090 ERROR (pool-4-thread-1) [ALMStoryReport]: Erro no envio de dados para integração\r\nbr.gov.frameworkdemoiselle.behave.exception.BehaveException: br.gov.frameworkdemoiselle.behave.exception.BehaveException: Erro ao criar caso de testes. Detalhes: HTTP/1.1 400 Bad Request \r\n\tat br.gov.frameworkdemoiselle.behave.integration.alm.ALMIntegration.sendScenario(ALMIntegration.java:252)\r\n\tat br.gov.frameworkdemoiselle.behave.parser.jbehave.report.ALMStoryReport.afterStory(ALMStoryReport.java:103)\r\n\tat org.jbehave.core.reporters.DelegatingStoryReporter.afterStory(DelegatingStoryReporter.java:49)\r\n\tat org.jbehave.core.reporters.ConcurrentStoryReporter.afterStory(ConcurrentStoryReporter.java:119)\r\n\tat org.jbehave.core.embedder.StoryRunner.runCancellable(StoryRunner.java:324)\r\n\tat org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:220)\r\n\tat org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)\r\n\tat org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:262)\r\n\tat org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:229)\r\n\tat java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:138)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)\r\n\tat java.lang.Thread.run(Thread.java:662)\r\nCaused by: br.gov.frameworkdemoiselle.behave.exception.BehaveException: Erro ao criar caso de testes. Detalhes: HTTP/1.1 400 Bad Request \r\n\tat br.gov.frameworkdemoiselle.behave.integration.alm.ALMIntegration.sendScenario(ALMIntegration.java:159)\r\n\t... 13 more\r\n\r\nPensei primeiramente que fosse o erro da issue https://github.com/demoiselle/behave/issues/235 mas parece que é outro.\r\n\r\nAlguém mais está tendo este erro?\r\n\r\nEstou usando a versão:\r\nDemoiselle Behave 1.4.1-SNAPSHOT em: 12/01/2015 09:48\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/demoiselle/behave/issues/comments/71839702","html_url":"https://github.com/demoiselle/behave/issues/303#issuecomment-71839702","issue_url":"https://api.github.com/repos/demoiselle/behave/issues/303","id":71839702,"user":{"login":"rogernobre","id":3092623,"avatar_url":"https://avatars.githubusercontent.com/u/3092623?v=3","gravatar_id":"","url":"https://api.github.com/users/rogernobre","html_url":"https://github.com/rogernobre","followers_url":"https://api.github.com/users/rogernobre/followers","following_url":"https://api.github.com/users/rogernobre/following{/other_user}","gists_url":"https://api.github.com/users/rogernobre/gists{/gist_id}","starred_url":"https://api.github.com/users/rogernobre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogernobre/subscriptions","organizations_url":"https://api.github.com/users/rogernobre/orgs","repos_url":"https://api.github.com/users/rogernobre/repos","events_url":"https://api.github.com/users/rogernobre/events{/privacy}","received_events_url":"https://api.github.com/users/rogernobre/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T14:08:47Z","updated_at":"2015-01-28T14:08:47Z","body":"Testei em homologação (homalm.serpro) e continua a mesma coisa:\r\n\r\n11:04:51,234 DEBUG (pool-1-thread-1) [ALMIntegration]: Acessando ao autenticador ALM\r\n11:05:09,890 DEBUG (pool-1-thread-1) [ALMIntegration]: ------------- IntegraÃ§Ã£o ALM Iniciada -------------\r\n\r\n11:05:12,395 DEBUG (pool-1-thread-1) [ALMIntegration]: Autenticando usuário [01069360503]\r\n11:05:19,787 DEBUG (pool-1-thread-1) [ALMIntegration]: Enviando Caso de Teste:\r\n\r\n11:05:43,563 DEBUG (pool-1-thread-1) [ALMIntegration]: https://homalm.serpro/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Demoiselle+Behave+%28Gerenciamento+de+Qualidade%29/testcase/testcaseRealizarloginnoeProcessoJava\r\n11:05:43,568 DEBUG (pool-1-thread-1) [ALMIntegration]: <?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\r\n<ns4:testcase xmlns:ns2=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:ns4=\"http://jazz.net/xmlns/alm/qm/v0.1/\" xmlns:ns3=\"http://jazz.net/xmlns/alm/v0.1/\" xmlns:ns5=\"http://purl.org/dc/elements/1.1/\">\r\n    <ns5:title>Realizar login no eProcesso Java</ns5:title>\r\n    <ns4:weight>100</ns4:weight>\r\n    <ns4:priority ns4:resource=\"https://homalm.serpro/qm/service/com.ibm.rqm.integration.service.IIntegrationService/process-info/_EX3W1K3iEeKZTtTZfLxNXw/priority/literal.priority.101\">literal.priority.101</ns4:priority>\r\n    <ns4:suspect>false</ns4:suspect>\r\n    <com.ibm.rqm.planning.editor.section.testCaseDesign extensionDisplayName=\"RQM-KEY-TC-DESIGN-TITLE\">&lt;br/&gt;Dado que vou para a tela &amp;#34;Login Java&amp;#34;</com.ibm.rqm.planning.editor.section.testCaseDesign>\r\n</ns4:testcase>\r\n\r\n11:05:48,643 ERROR (pool-1-thread-1) [ALMStoryReport]: Erro no envio de dados para integração\r\nbr.gov.frameworkdemoiselle.behave.exception.BehaveException: br.gov.frameworkdemoiselle.behave.exception.BehaveException: Erro ao criar caso de testes. Detalhes: HTTP/1.1 400 Bad Request \r\n\tat br.gov.frameworkdemoiselle.behave.integration.alm.ALMIntegration.sendScenario(ALMIntegration.java:252)\r\n\tat br.gov.frameworkdemoiselle.behave.parser.jbehave.report.ALMStoryReport.afterStory(ALMStoryReport.java:103)\r\n\tat org.jbehave.core.reporters.DelegatingStoryReporter.afterStory(DelegatingStoryReporter.java:49)\r\n\tat org.jbehave.core.reporters.ConcurrentStoryReporter.afterStory(ConcurrentStoryReporter.java:119)\r\n\tat org.jbehave.core.embedder.StoryRunner.runCancellable(StoryRunner.java:324)\r\n\tat org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:220)\r\n\tat org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)\r\n\tat org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:262)\r\n\tat org.jbehave.core.embedder.StoryManager$EnqueuedStory.call(StoryManager.java:229)\r\n\tat java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:138)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)\r\n\tat java.lang.Thread.run(Thread.java:662)\r\nCaused by: br.gov.frameworkdemoiselle.behave.exception.BehaveException: Erro ao criar caso de testes. Detalhes: HTTP/1.1 400 Bad Request \r\n\tat br.gov.frameworkdemoiselle.behave.integration.alm.ALMIntegration.sendScenario(ALMIntegration.java:159)\r\n\t... 13 more"}}