Test duration : 9.450s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.086s |
2022-08-07 22:34:10 |
2022-08-07 22:34:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:10 | ------------------------------------ 2022-08-07 22:34:10 | [Mutex] waiting for: [configured:node:node-57687d8f-bb53-46cc-abaa-5472802c67db:node-e17c3fe4-03fb-422c-a8da-d37795219285] 2022-08-07 22:34:10 | [Mutex] received everything. 2022-08-07 22:34:10 | [Mutex] isItemNotified: configured:node:node-57687d8f-bb53-46cc-abaa-5472802c67db:node-e17c3fe4-03fb-422c-a8da-d37795219285 :: true 2022-08-07 22:34:11 | [Mutex] waiting for: [received:nodes:03fdef51-1a91-40cc-8f6e-523032b66c89:localhost] 2022-08-07 22:34:11 | [Mutex] received everything. 2022-08-07 22:34:11 | [Mutex] isItemNotified: received:node:03fdef51-1a91-40cc-8f6e-523032b66c89:localhost:node-57687d8f-bb53-46cc-abaa-5472802c67db:Node 57687d8f-bb53-46cc-abaa-5472802c67db :: true 2022-08-07 22:34:11 | [Mutex] waiting for: [received:nodes:468e93a6-4ce4-4a5d-973e-296fe8b1dae8:localhost] 2022-08-07 22:34:11 | [Mutex] waiting for: [received:nodes:468e93a6-4ce4-4a5d-973e-296fe8b1dae8:localhost] 2022-08-07 22:34:11 | [Mutex] received everything. 2022-08-07 22:34:11 | [Mutex] isItemNotified: received:node:468e93a6-4ce4-4a5d-973e-296fe8b1dae8:localhost:node-57687d8f-bb53-46cc-abaa-5472802c67db:Node 57687d8f-bb53-46cc-abaa-5472802c67db :: false |
createNodes | 1.383s |
2022-08-07 22:34:08 |
2022-08-07 22:34:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:08 | ------------------------------------ 2022-08-07 22:34:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-57687d8f-bb53-46cc-abaa-5472802c67db</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 57687d8f-bb53-46cc-abaa-5472802c67db</title></pubsub></data> 2022-08-07 22:34:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-07 22:34:09 | [Mutex] waiting for: [received:nodes:36a41a38-ca02-4905-95b0-a4e62d43ab53:localhost] 2022-08-07 22:34:09 | [Mutex] received everything. 2022-08-07 22:34:09 | [Mutex] isItemNotified: received:node:36a41a38-ca02-4905-95b0-a4e62d43ab53:localhost:node-57687d8f-bb53-46cc-abaa-5472802c67db:Node 57687d8f-bb53-46cc-abaa-5472802c67db :: true |
createSubnodes | 1.027s |
2022-08-07 22:34:09 |
2022-08-07 22:34:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:09 | ------------------------------------ 2022-08-07 22:34:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e17c3fe4-03fb-422c-a8da-d37795219285</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e17c3fe4-03fb-422c-a8da-d37795219285</title></pubsub></data> 2022-08-07 22:34:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-07 22:34:10 | [Mutex] waiting for: [received:nodes:ff87326f-0108-4d93-8ab7-f62be10f21b6:localhost] 2022-08-07 22:34:10 | [Mutex] received everything. 2022-08-07 22:34:10 | [Mutex] isItemNotified: received:node:ff87326f-0108-4d93-8ab7-f62be10f21b6:localhost:node-e17c3fe4-03fb-422c-a8da-d37795219285:Node e17c3fe4-03fb-422c-a8da-d37795219285 :: true |
deleteNodes | 1.019s |
2022-08-07 22:34:15 |
2022-08-07 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:15 | ------------------------------------ 2022-08-07 22:34:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e17c3fe4-03fb-422c-a8da-d37795219285</node></data> 2022-08-07 22:34:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-07 22:34:16 | [Mutex] waiting for: [received:nodes:ef3c3b07-e7f8-4402-a106-6b41214fe0fd:localhost] 2022-08-07 22:34:16 | [Mutex] received everything. 2022-08-07 22:34:16 | [Mutex] isItemNotified: received:node:ef3c3b07-e7f8-4402-a106-6b41214fe0fd:localhost:node-e17c3fe4-03fb-422c-a8da-d37795219285:Node e17c3fe4-03fb-422c-a8da-d37795219285 :: false |
deleteSubnodes | 1.147s |
2022-08-07 22:34:14 |
2022-08-07 22:34:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:14 | ------------------------------------ 2022-08-07 22:34:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-57687d8f-bb53-46cc-abaa-5472802c67db</node></data> 2022-08-07 22:34:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-07 22:34:15 | [Mutex] waiting for: [received:nodes:b4f997c7-488f-4632-a2cb-0404ef6b518d:localhost] 2022-08-07 22:34:15 | [Mutex] received everything. 2022-08-07 22:34:15 | [Mutex] isItemNotified: received:node:b4f997c7-488f-4632-a2cb-0404ef6b518d:localhost:node-57687d8f-bb53-46cc-abaa-5472802c67db:Node 57687d8f-bb53-46cc-abaa-5472802c67db :: false 2022-08-07 22:34:15 | [Mutex] waiting for: [received:nodes:953947a2-b5b8-414a-8580-913784edd767:localhost] 2022-08-07 22:34:15 | [Mutex] received everything. 2022-08-07 22:34:15 | [Mutex] isItemNotified: received:node:953947a2-b5b8-414a-8580-913784edd767:localhost:node-57687d8f-bb53-46cc-abaa-5472802c67db:Node 57687d8f-bb53-46cc-abaa-5472802c67db :: false |
publishItemsToNodes | 0.204s |
2022-08-07 22:34:12 |
2022-08-07 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:12 | ------------------------------------ 2022-08-07 22:34:12 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-57687d8f-bb53-46cc-abaa-5472802c67db</node><item-id>item-c1186841-938b-4cbd-a2eb-7ed6f805153d</item-id><entry><test>item-c1186841-938b-4cbd-a2eb-7ed6f805153d</test></entry></data> 2022-08-07 22:34:12 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-c1186841-938b-4cbd-a2eb-7ed6f805153d</value></item-id></result> 2022-08-07 22:34:12 | [Mutex] received everything. 2022-08-07 22:34:12 | [Mutex] isItemNotified: published:item:notifieditem-c1186841-938b-4cbd-a2eb-7ed6f805153d:admin@test-domain.com :: true |
retractItemsFromNodes | 0.256s |
2022-08-07 22:34:13 |
2022-08-07 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:13 | ------------------------------------ 2022-08-07 22:34:13 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-57687d8f-bb53-46cc-abaa-5472802c67db</node><item-id>item-c1186841-938b-4cbd-a2eb-7ed6f805153d</item-id></data> 2022-08-07 22:34:13 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-c1186841-938b-4cbd-a2eb-7ed6f805153d</value></item-id></result> 2022-08-07 22:34:13 | [Mutex] received everything. 2022-08-07 22:34:13 | [Mutex] isItemNotified: retracted:item:notifieditem-c1186841-938b-4cbd-a2eb-7ed6f805153d:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.209s |
2022-08-07 22:34:12 |
2022-08-07 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:12 | ------------------------------------ 2022-08-07 22:34:12 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-57687d8f-bb53-46cc-abaa-5472802c67db</node><item-id>item-c1186841-938b-4cbd-a2eb-7ed6f805153d</item-id></data> 2022-08-07 22:34:13 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-57687d8f-bb53-46cc-abaa-5472802c67db</value></node><item-id type="text-single" label="Item ID"><value>item-c1186841-938b-4cbd-a2eb-7ed6f805153d</value></item-id><item type="text-multi" label="Item"><value><item id="item-c1186841-938b-4cbd-a2eb-7ed6f805153d"><test>item-c1186841-938b-4cbd-a2eb-7ed6f805153d</test></item></value></item></result> 2022-08-07 22:34:13 | [Mutex] notify: [retrieved:item:item-c1186841-938b-4cbd-a2eb-7ed6f805153d:payload-matches:true:localhost] 2022-08-07 22:34:13 | [Mutex] received everything. 2022-08-07 22:34:13 | [Mutex] isItemNotified: retrieved:item:item-c1186841-938b-4cbd-a2eb-7ed6f805153d:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-07 22:34:13 |
2022-08-07 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:13 | ------------------------------------ 2022-08-07 22:34:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-07 22:34:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-57687d8f-bb53-46cc-abaa-5472802c67db</value><value>node-e17c3fe4-03fb-422c-a8da-d37795219285</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-07 22:34:13 |
2022-08-07 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:13 | ------------------------------------ 2022-08-07 22:34:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-57687d8f-bb53-46cc-abaa-5472802c67db)</node-pattern></data> 2022-08-07 22:34:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.106s |
2022-08-07 22:34:11 |
2022-08-07 22:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:11 | ------------------------------------ 2022-08-07 22:34:11 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-57687d8f-bb53-46cc-abaa-5472802c67db</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-07 22:34:11 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.292s |
2022-08-07 22:34:13 |
2022-08-07 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 22:34:13 | ------------------------------------ 2022-08-07 22:34:13 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-57687d8f-bb53-46cc-abaa-5472802c67db</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-07 22:34:13 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |