Test duration : 10.025s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.152s |
2020-10-29 22:41:46 |
2020-10-29 22:41:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:46 | ------------------------------------ 2020-10-29 22:41:46 | [Mutex] waiting for: [configured:node:node-092f520c-7c73-44da-87bd-f10e905724b0:node-a5764599-3045-4e8e-884e-a765234419c7] 2020-10-29 22:41:47 | [Mutex] received everything. 2020-10-29 22:41:47 | [Mutex] isItemNotified: configured:node:node-092f520c-7c73-44da-87bd-f10e905724b0:node-a5764599-3045-4e8e-884e-a765234419c7 :: true 2020-10-29 22:41:48 | [Mutex] waiting for: [received:nodes:2b846424-53b0-4844-af4e-601e6723117c:localhost] 2020-10-29 22:41:48 | [Mutex] received everything. 2020-10-29 22:41:48 | [Mutex] isItemNotified: received:node:2b846424-53b0-4844-af4e-601e6723117c:localhost:node-092f520c-7c73-44da-87bd-f10e905724b0:Node 092f520c-7c73-44da-87bd-f10e905724b0 :: true 2020-10-29 22:41:48 | [Mutex] waiting for: [received:nodes:837ba58f-46c1-470f-a52d-8b499fa27c2c:localhost] 2020-10-29 22:41:48 | [Mutex] received everything. 2020-10-29 22:41:48 | [Mutex] isItemNotified: received:node:837ba58f-46c1-470f-a52d-8b499fa27c2c:localhost:node-092f520c-7c73-44da-87bd-f10e905724b0:Node 092f520c-7c73-44da-87bd-f10e905724b0 :: false |
createNodes | 1.531s |
2020-10-29 22:41:44 |
2020-10-29 22:41:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:44 | ------------------------------------ 2020-10-29 22:41:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-092f520c-7c73-44da-87bd-f10e905724b0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 092f520c-7c73-44da-87bd-f10e905724b0</title></pubsub></data> 2020-10-29 22:41:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:41:45 | [Mutex] waiting for: [received:nodes:734c2f92-cd12-4bc0-9ead-df4042bb9401:localhost] 2020-10-29 22:41:45 | [Mutex] received everything. 2020-10-29 22:41:45 | [Mutex] isItemNotified: received:node:734c2f92-cd12-4bc0-9ead-df4042bb9401:localhost:node-092f520c-7c73-44da-87bd-f10e905724b0:Node 092f520c-7c73-44da-87bd-f10e905724b0 :: true |
createSubnodes | 1.027s |
2020-10-29 22:41:45 |
2020-10-29 22:41:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:45 | ------------------------------------ 2020-10-29 22:41:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a5764599-3045-4e8e-884e-a765234419c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a5764599-3045-4e8e-884e-a765234419c7</title></pubsub></data> 2020-10-29 22:41:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:41:46 | [Mutex] waiting for: [received:nodes:0bdc4069-b831-4fd2-ad88-a843c8b3c6ef:localhost] 2020-10-29 22:41:46 | [Mutex] received everything. 2020-10-29 22:41:46 | [Mutex] isItemNotified: received:node:0bdc4069-b831-4fd2-ad88-a843c8b3c6ef:localhost:node-a5764599-3045-4e8e-884e-a765234419c7:Node a5764599-3045-4e8e-884e-a765234419c7 :: true |
deleteNodes | 1.019s |
2020-10-29 22:41:52 |
2020-10-29 22:41:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:52 | ------------------------------------ 2020-10-29 22:41:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a5764599-3045-4e8e-884e-a765234419c7</node></data> 2020-10-29 22:41:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:41:53 | [Mutex] waiting for: [received:nodes:4c592626-e913-4f28-beab-eee0487b448b:localhost] 2020-10-29 22:41:53 | [Mutex] received everything. 2020-10-29 22:41:53 | [Mutex] isItemNotified: received:node:4c592626-e913-4f28-beab-eee0487b448b:localhost:node-a5764599-3045-4e8e-884e-a765234419c7:Node a5764599-3045-4e8e-884e-a765234419c7 :: false |
deleteSubnodes | 1.112s |
2020-10-29 22:41:51 |
2020-10-29 22:41:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:51 | ------------------------------------ 2020-10-29 22:41:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-092f520c-7c73-44da-87bd-f10e905724b0</node></data> 2020-10-29 22:41:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-29 22:41:52 | [Mutex] waiting for: [received:nodes:c6871d54-ee27-4293-8e4d-39062b7c0f72:localhost] 2020-10-29 22:41:52 | [Mutex] waiting for: [received:nodes:c6871d54-ee27-4293-8e4d-39062b7c0f72:localhost] 2020-10-29 22:41:52 | [Mutex] waiting for: [received:nodes:c6871d54-ee27-4293-8e4d-39062b7c0f72:localhost] 2020-10-29 22:41:52 | [Mutex] received everything. 2020-10-29 22:41:52 | [Mutex] isItemNotified: received:node:c6871d54-ee27-4293-8e4d-39062b7c0f72:localhost:node-092f520c-7c73-44da-87bd-f10e905724b0:Node 092f520c-7c73-44da-87bd-f10e905724b0 :: false 2020-10-29 22:41:52 | [Mutex] waiting for: [received:nodes:716d5c74-7a94-4809-a3bc-d31c18ffe852:localhost] 2020-10-29 22:41:52 | [Mutex] received everything. 2020-10-29 22:41:52 | [Mutex] isItemNotified: received:node:716d5c74-7a94-4809-a3bc-d31c18ffe852:localhost:node-092f520c-7c73-44da-87bd-f10e905724b0:Node 092f520c-7c73-44da-87bd-f10e905724b0 :: false |
publishItemsToNodes | 0.185s |
2020-10-29 22:41:49 |
2020-10-29 22:41:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:49 | ------------------------------------ 2020-10-29 22:41:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-092f520c-7c73-44da-87bd-f10e905724b0</node><item-id>item-5c8848dc-5714-4eb3-b339-ff1ea19f745e</item-id><entry><test>item-5c8848dc-5714-4eb3-b339-ff1ea19f745e</test></entry></data> 2020-10-29 22:41:49 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5c8848dc-5714-4eb3-b339-ff1ea19f745e</value></item-id></result> 2020-10-29 22:41:49 | [Mutex] waiting for: [published:item:notifieditem-5c8848dc-5714-4eb3-b339-ff1ea19f745e:admin@test-domain.com] 2020-10-29 22:41:49 | [Mutex] received everything. 2020-10-29 22:41:49 | [Mutex] isItemNotified: published:item:notifieditem-5c8848dc-5714-4eb3-b339-ff1ea19f745e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.191s |
2020-10-29 22:41:49 |
2020-10-29 22:41:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:49 | ------------------------------------ 2020-10-29 22:41:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-092f520c-7c73-44da-87bd-f10e905724b0</node><item-id>item-5c8848dc-5714-4eb3-b339-ff1ea19f745e</item-id></data> 2020-10-29 22:41:49 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-5c8848dc-5714-4eb3-b339-ff1ea19f745e</value></item-id></result> 2020-10-29 22:41:49 | [Mutex] waiting for: [retracted:item:notifieditem-5c8848dc-5714-4eb3-b339-ff1ea19f745e:admin@test-domain.com] 2020-10-29 22:41:49 | [Mutex] received everything. 2020-10-29 22:41:49 | [Mutex] isItemNotified: retracted:item:notifieditem-5c8848dc-5714-4eb3-b339-ff1ea19f745e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.300s |
2020-10-29 22:41:49 |
2020-10-29 22:41:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:49 | ------------------------------------ 2020-10-29 22:41:49 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-092f520c-7c73-44da-87bd-f10e905724b0</node><item-id>item-5c8848dc-5714-4eb3-b339-ff1ea19f745e</item-id></data> 2020-10-29 22:41:49 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-092f520c-7c73-44da-87bd-f10e905724b0</value></node><item-id label="Item ID" type="text-single"><value>item-5c8848dc-5714-4eb3-b339-ff1ea19f745e</value></item-id><item label="Item" type="text-multi"><value><item id="item-5c8848dc-5714-4eb3-b339-ff1ea19f745e"><test>item-5c8848dc-5714-4eb3-b339-ff1ea19f745e</test></item></value></item></result> 2020-10-29 22:41:49 | [Mutex] notify: [retrieved:item:item-5c8848dc-5714-4eb3-b339-ff1ea19f745e:payload-matches:true:localhost] 2020-10-29 22:41:49 | [Mutex] received everything. 2020-10-29 22:41:49 | [Mutex] isItemNotified: retrieved:item:item-5c8848dc-5714-4eb3-b339-ff1ea19f745e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2020-10-29 22:41:49 |
2020-10-29 22:41:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:49 | ------------------------------------ 2020-10-29 22:41:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-29 22:41:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-092f520c-7c73-44da-87bd-f10e905724b0</value><value>node-a5764599-3045-4e8e-884e-a765234419c7</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2020-10-29 22:41:49 |
2020-10-29 22:41:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:49 | ------------------------------------ 2020-10-29 22:41:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-092f520c-7c73-44da-87bd-f10e905724b0)</node-pattern></data> 2020-10-29 22:41:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.095s |
2020-10-29 22:41:48 |
2020-10-29 22:41:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:48 | ------------------------------------ 2020-10-29 22:41:48 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-092f520c-7c73-44da-87bd-f10e905724b0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-29 22:41:48 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.275s |
2020-10-29 22:41:49 |
2020-10-29 22:41:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-29 22:41:49 | ------------------------------------ 2020-10-29 22:41:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-092f520c-7c73-44da-87bd-f10e905724b0</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-29 22:41:50 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |