Test duration : 8.455s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.084s |
2023-11-05 04:57:06 |
2023-11-05 04:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:06 | ------------------------------------ 2023-11-05 04:57:06 | [Mutex] waiting for: [configured:node:node-6eadd591-0e01-40dd-8026-fa0c30967d11:node-908e3d55-20f6-47a3-8a59-6697eae6b108] 2023-11-05 04:57:06 | [Mutex] received everything. 2023-11-05 04:57:06 | [Mutex] isItemNotified: configured:node:node-6eadd591-0e01-40dd-8026-fa0c30967d11:node-908e3d55-20f6-47a3-8a59-6697eae6b108 :: true 2023-11-05 04:57:07 | [Mutex] waiting for: [received:nodes:4bed216b-64c9-45b9-8015-1a4966fd6835:localhost] 2023-11-05 04:57:07 | [Mutex] received everything. 2023-11-05 04:57:07 | [Mutex] isItemNotified: received:node:4bed216b-64c9-45b9-8015-1a4966fd6835:localhost:node-6eadd591-0e01-40dd-8026-fa0c30967d11:Node 6eadd591-0e01-40dd-8026-fa0c30967d11 :: true 2023-11-05 04:57:07 | [Mutex] waiting for: [received:nodes:b70084a3-69cc-4723-9c9a-aeffc9315f50:localhost] 2023-11-05 04:57:07 | [Mutex] waiting for: [received:nodes:b70084a3-69cc-4723-9c9a-aeffc9315f50:localhost] 2023-11-05 04:57:07 | [Mutex] waiting for: [received:nodes:b70084a3-69cc-4723-9c9a-aeffc9315f50:localhost] 2023-11-05 04:57:07 | [Mutex] waiting for: [received:nodes:b70084a3-69cc-4723-9c9a-aeffc9315f50:localhost] 2023-11-05 04:57:07 | [Mutex] received everything. 2023-11-05 04:57:07 | [Mutex] isItemNotified: received:node:b70084a3-69cc-4723-9c9a-aeffc9315f50:localhost:node-6eadd591-0e01-40dd-8026-fa0c30967d11:Node 6eadd591-0e01-40dd-8026-fa0c30967d11 :: false |
createNodes | 1.552s |
2023-11-05 04:57:03 |
2023-11-05 04:57:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:03 | ------------------------------------ 2023-11-05 04:57:04 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-6eadd591-0e01-40dd-8026-fa0c30967d11", "pubsub#title": "Node 6eadd591-0e01-40dd-8026-fa0c30967d11" } 2023-11-05 04:57:04 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 04:57:05 | [Mutex] waiting for: [received:nodes:451d91bb-d0b2-46c5-95d2-9aff0337808e:localhost] 2023-11-05 04:57:05 | [Mutex] waiting for: [received:nodes:451d91bb-d0b2-46c5-95d2-9aff0337808e:localhost] 2023-11-05 04:57:05 | [Mutex] waiting for: [received:nodes:451d91bb-d0b2-46c5-95d2-9aff0337808e:localhost] 2023-11-05 04:57:05 | [Mutex] waiting for: [received:nodes:451d91bb-d0b2-46c5-95d2-9aff0337808e:localhost] 2023-11-05 04:57:05 | [Mutex] received everything. 2023-11-05 04:57:05 | [Mutex] isItemNotified: received:node:451d91bb-d0b2-46c5-95d2-9aff0337808e:localhost:node-6eadd591-0e01-40dd-8026-fa0c30967d11:Node 6eadd591-0e01-40dd-8026-fa0c30967d11 :: true |
createSubnodes | 1.020s |
2023-11-05 04:57:05 |
2023-11-05 04:57:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:05 | ------------------------------------ 2023-11-05 04:57:05 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-908e3d55-20f6-47a3-8a59-6697eae6b108", "pubsub#title": "Node 908e3d55-20f6-47a3-8a59-6697eae6b108" } 2023-11-05 04:57:05 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 04:57:06 | [Mutex] waiting for: [received:nodes:56b38690-6d40-419b-878a-6321176c3e5c:localhost] 2023-11-05 04:57:06 | [Mutex] waiting for: [received:nodes:56b38690-6d40-419b-878a-6321176c3e5c:localhost] 2023-11-05 04:57:06 | [Mutex] waiting for: [received:nodes:56b38690-6d40-419b-878a-6321176c3e5c:localhost] 2023-11-05 04:57:06 | [Mutex] waiting for: [received:nodes:56b38690-6d40-419b-878a-6321176c3e5c:localhost] 2023-11-05 04:57:06 | [Mutex] waiting for: [received:nodes:56b38690-6d40-419b-878a-6321176c3e5c:localhost] 2023-11-05 04:57:06 | [Mutex] received everything. 2023-11-05 04:57:06 | [Mutex] isItemNotified: received:node:56b38690-6d40-419b-878a-6321176c3e5c:localhost:node-908e3d55-20f6-47a3-8a59-6697eae6b108:Node 908e3d55-20f6-47a3-8a59-6697eae6b108 :: true |
deleteNodes | 1.015s |
2023-11-05 04:57:10 |
2023-11-05 04:57:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:10 | ------------------------------------ 2023-11-05 04:57:10 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-908e3d55-20f6-47a3-8a59-6697eae6b108" } 2023-11-05 04:57:10 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 04:57:11 | [Mutex] waiting for: [received:nodes:9164fbe1-6fb8-4834-b141-d6aaf94e4d83:localhost] 2023-11-05 04:57:11 | [Mutex] waiting for: [received:nodes:9164fbe1-6fb8-4834-b141-d6aaf94e4d83:localhost] 2023-11-05 04:57:11 | [Mutex] waiting for: [received:nodes:9164fbe1-6fb8-4834-b141-d6aaf94e4d83:localhost] 2023-11-05 04:57:11 | [Mutex] received everything. 2023-11-05 04:57:11 | [Mutex] isItemNotified: received:node:9164fbe1-6fb8-4834-b141-d6aaf94e4d83:localhost:node-908e3d55-20f6-47a3-8a59-6697eae6b108:Node 908e3d55-20f6-47a3-8a59-6697eae6b108 :: false |
deleteSubnodes | 1.025s |
2023-11-05 04:57:09 |
2023-11-05 04:57:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:09 | ------------------------------------ 2023-11-05 04:57:09 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-6eadd591-0e01-40dd-8026-fa0c30967d11" } 2023-11-05 04:57:09 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 04:57:10 | [Mutex] waiting for: [received:nodes:81463e74-59ad-49bb-a551-96150785b098:localhost] 2023-11-05 04:57:10 | [Mutex] waiting for: [received:nodes:81463e74-59ad-49bb-a551-96150785b098:localhost] 2023-11-05 04:57:10 | [Mutex] waiting for: [received:nodes:81463e74-59ad-49bb-a551-96150785b098:localhost] 2023-11-05 04:57:10 | [Mutex] waiting for: [received:nodes:81463e74-59ad-49bb-a551-96150785b098:localhost] 2023-11-05 04:57:10 | [Mutex] received everything. 2023-11-05 04:57:10 | [Mutex] isItemNotified: received:node:81463e74-59ad-49bb-a551-96150785b098:localhost:node-6eadd591-0e01-40dd-8026-fa0c30967d11:Node 6eadd591-0e01-40dd-8026-fa0c30967d11 :: false 2023-11-05 04:57:10 | [Mutex] waiting for: [received:nodes:3a37569a-c4a5-4b2c-bf2c-0d88d9b57bc1:localhost] 2023-11-05 04:57:10 | [Mutex] received everything. 2023-11-05 04:57:10 | [Mutex] isItemNotified: received:node:3a37569a-c4a5-4b2c-bf2c-0d88d9b57bc1:localhost:node-6eadd591-0e01-40dd-8026-fa0c30967d11:Node 6eadd591-0e01-40dd-8026-fa0c30967d11 :: false |
publishItemsToNodes | 0.042s |
2023-11-05 04:57:08 |
2023-11-05 04:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:08 | ------------------------------------ 2023-11-05 04:57:08 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-6eadd591-0e01-40dd-8026-fa0c30967d11", "entry": "<test>item-093f31b2-22a5-4794-8c8e-e327d7283491</test>", "item-id": "item-093f31b2-22a5-4794-8c8e-e327d7283491" } 2023-11-05 04:57:08 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-093f31b2-22a5-4794-8c8e-e327d7283491" } 2023-11-05 04:57:08 | [Mutex] waiting for: [published:item:notifieditem-093f31b2-22a5-4794-8c8e-e327d7283491:admin@test-domain.com] 2023-11-05 04:57:08 | [Mutex] received everything. 2023-11-05 04:57:08 | [Mutex] isItemNotified: published:item:notifieditem-093f31b2-22a5-4794-8c8e-e327d7283491:admin@test-domain.com :: true |
retractItemsFromNodes | 0.059s |
2023-11-05 04:57:08 |
2023-11-05 04:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:08 | ------------------------------------ 2023-11-05 04:57:08 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-6eadd591-0e01-40dd-8026-fa0c30967d11", "item-id": "item-093f31b2-22a5-4794-8c8e-e327d7283491" } 2023-11-05 04:57:08 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-093f31b2-22a5-4794-8c8e-e327d7283491" } 2023-11-05 04:57:08 | [Mutex] received everything. 2023-11-05 04:57:08 | [Mutex] isItemNotified: retracted:item:notifieditem-093f31b2-22a5-4794-8c8e-e327d7283491:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.060s |
2023-11-05 04:57:08 |
2023-11-05 04:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:08 | ------------------------------------ 2023-11-05 04:57:08 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-6eadd591-0e01-40dd-8026-fa0c30967d11", "item-id": "item-093f31b2-22a5-4794-8c8e-e327d7283491" } 2023-11-05 04:57:08 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-6eadd591-0e01-40dd-8026-fa0c30967d11", "item-id": "item-093f31b2-22a5-4794-8c8e-e327d7283491", "item": [ "<item id=\"item-093f31b2-22a5-4794-8c8e-e327d7283491\"><test>item-093f31b2-22a5-4794-8c8e-e327d7283491</test></item>" ] } 2023-11-05 04:57:08 | [Mutex] notify: [retrieved:item:item-093f31b2-22a5-4794-8c8e-e327d7283491:payload-matches:true:localhost] 2023-11-05 04:57:08 | [Mutex] received everything. 2023-11-05 04:57:08 | [Mutex] isItemNotified: retrieved:item:item-093f31b2-22a5-4794-8c8e-e327d7283491:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2023-11-05 04:57:08 |
2023-11-05 04:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:08 | ------------------------------------ 2023-11-05 04:57:08 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-11-05 04:57:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-908e3d55-20f6-47a3-8a59-6697eae6b108", "test", "node-6eadd591-0e01-40dd-8026-fa0c30967d11" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-11-05 04:57:08 |
2023-11-05 04:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:08 | ------------------------------------ 2023-11-05 04:57:08 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-6eadd591-0e01-40dd-8026-fa0c30967d11)" } 2023-11-05 04:57:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.010s |
2023-11-05 04:57:07 |
2023-11-05 04:57:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:07 | ------------------------------------ 2023-11-05 04:57:07 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-6eadd591-0e01-40dd-8026-fa0c30967d11", "jids": [ "admin@test-domain.com" ] } 2023-11-05 04:57:07 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2023-11-05 04:57:08 |
2023-11-05 04:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 04:57:08 | ------------------------------------ 2023-11-05 04:57:08 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-6eadd591-0e01-40dd-8026-fa0c30967d11", "jids": [ "admin@test-domain.com" ] } 2023-11-05 04:57:08 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |