Generated by TestNG with ReportNG at 22:30 PDT on Sunday 06 August 2023
root@c198f8de0a9c / Java 17.0.8 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.458s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.141s
2023-08-06 22:45:18 |

2023-08-06 22:45:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:18 | ------------------------------------

2023-08-06 22:45:18 | [Mutex] waiting for: [configured:node:node-5fd79856-7f1f-4eb0-a34a-5db56e438f06:node-aca67337-51c5-4f92-9455-7f9793ede2e2]

2023-08-06 22:45:18 | [Mutex] received everything.

2023-08-06 22:45:18 | [Mutex] isItemNotified: configured:node:node-5fd79856-7f1f-4eb0-a34a-5db56e438f06:node-aca67337-51c5-4f92-9455-7f9793ede2e2 :: true

2023-08-06 22:45:19 | [Mutex] waiting for: [received:nodes:3b3d5220-97aa-4904-925b-48a8641767bd:localhost]

2023-08-06 22:45:19 | [Mutex] received everything.

2023-08-06 22:45:19 | [Mutex] isItemNotified: received:node:3b3d5220-97aa-4904-925b-48a8641767bd:localhost:node-5fd79856-7f1f-4eb0-a34a-5db56e438f06:Node 5fd79856-7f1f-4eb0-a34a-5db56e438f06 :: true

2023-08-06 22:45:19 | [Mutex] waiting for: [received:nodes:2ae6e79a-1ad7-4115-8780-ec0768dbb5ae:localhost]

2023-08-06 22:45:19 | [Mutex] waiting for: [received:nodes:2ae6e79a-1ad7-4115-8780-ec0768dbb5ae:localhost]

2023-08-06 22:45:19 | [Mutex] waiting for: [received:nodes:2ae6e79a-1ad7-4115-8780-ec0768dbb5ae:localhost]

2023-08-06 22:45:19 | [Mutex] waiting for: [received:nodes:2ae6e79a-1ad7-4115-8780-ec0768dbb5ae:localhost]

2023-08-06 22:45:19 | [Mutex] received everything.

2023-08-06 22:45:19 | [Mutex] isItemNotified: received:node:2ae6e79a-1ad7-4115-8780-ec0768dbb5ae:localhost:node-5fd79856-7f1f-4eb0-a34a-5db56e438f06:Node 5fd79856-7f1f-4eb0-a34a-5db56e438f06 :: false

createNodes 1.394s
2023-08-06 22:45:15 |

2023-08-06 22:45:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:15 | ------------------------------------

2023-08-06 22:45:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5fd79856-7f1f-4eb0-a34a-5db56e438f06</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5fd79856-7f1f-4eb0-a34a-5db56e438f06</title></pubsub></data>

2023-08-06 22:45:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-06 22:45:17 | [Mutex] waiting for: [received:nodes:4422b984-8d71-44c9-b84c-139d68b37d2c:localhost]

2023-08-06 22:45:17 | [Mutex] waiting for: [received:nodes:4422b984-8d71-44c9-b84c-139d68b37d2c:localhost]

2023-08-06 22:45:17 | [Mutex] waiting for: [received:nodes:4422b984-8d71-44c9-b84c-139d68b37d2c:localhost]

2023-08-06 22:45:17 | [Mutex] received everything.

2023-08-06 22:45:17 | [Mutex] isItemNotified: received:node:4422b984-8d71-44c9-b84c-139d68b37d2c:localhost:node-5fd79856-7f1f-4eb0-a34a-5db56e438f06:Node 5fd79856-7f1f-4eb0-a34a-5db56e438f06 :: true

createSubnodes 1.031s
2023-08-06 22:45:17 |

2023-08-06 22:45:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:17 | ------------------------------------

2023-08-06 22:45:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aca67337-51c5-4f92-9455-7f9793ede2e2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node aca67337-51c5-4f92-9455-7f9793ede2e2</title></pubsub></data>

2023-08-06 22:45:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-06 22:45:18 | [Mutex] waiting for: [received:nodes:b532dcae-763f-4720-a11e-590911e7f370:localhost]

2023-08-06 22:45:18 | [Mutex] waiting for: [received:nodes:b532dcae-763f-4720-a11e-590911e7f370:localhost]

2023-08-06 22:45:18 | [Mutex] waiting for: [received:nodes:b532dcae-763f-4720-a11e-590911e7f370:localhost]

2023-08-06 22:45:18 | [Mutex] waiting for: [received:nodes:b532dcae-763f-4720-a11e-590911e7f370:localhost]

2023-08-06 22:45:18 | [Mutex] waiting for: [received:nodes:b532dcae-763f-4720-a11e-590911e7f370:localhost]

2023-08-06 22:45:18 | [Mutex] received everything.

2023-08-06 22:45:18 | [Mutex] isItemNotified: received:node:b532dcae-763f-4720-a11e-590911e7f370:localhost:node-aca67337-51c5-4f92-9455-7f9793ede2e2:Node aca67337-51c5-4f92-9455-7f9793ede2e2 :: true

deleteNodes 1.024s
2023-08-06 22:45:23 |

2023-08-06 22:45:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:23 | ------------------------------------

2023-08-06 22:45:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aca67337-51c5-4f92-9455-7f9793ede2e2</node></data>

2023-08-06 22:45:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-06 22:45:24 | [Mutex] waiting for: [received:nodes:361ea7a5-0da0-447b-a303-409d8e2487e7:localhost]

2023-08-06 22:45:24 | [Mutex] waiting for: [received:nodes:361ea7a5-0da0-447b-a303-409d8e2487e7:localhost]

2023-08-06 22:45:24 | [Mutex] waiting for: [received:nodes:361ea7a5-0da0-447b-a303-409d8e2487e7:localhost]

2023-08-06 22:45:24 | [Mutex] received everything.

2023-08-06 22:45:24 | [Mutex] isItemNotified: received:node:361ea7a5-0da0-447b-a303-409d8e2487e7:localhost:node-aca67337-51c5-4f92-9455-7f9793ede2e2:Node aca67337-51c5-4f92-9455-7f9793ede2e2 :: false

deleteSubnodes 1.109s
2023-08-06 22:45:22 |

2023-08-06 22:45:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:22 | ------------------------------------

2023-08-06 22:45:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5fd79856-7f1f-4eb0-a34a-5db56e438f06</node></data>

2023-08-06 22:45:22 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-08-06 22:45:23 | [Mutex] waiting for: [received:nodes:28ba5c22-01fc-4a88-a2fa-31a31886de34:localhost]

2023-08-06 22:45:23 | [Mutex] waiting for: [received:nodes:28ba5c22-01fc-4a88-a2fa-31a31886de34:localhost]

2023-08-06 22:45:23 | [Mutex] waiting for: [received:nodes:28ba5c22-01fc-4a88-a2fa-31a31886de34:localhost]

2023-08-06 22:45:23 | [Mutex] waiting for: [received:nodes:28ba5c22-01fc-4a88-a2fa-31a31886de34:localhost]

2023-08-06 22:45:23 | [Mutex] received everything.

2023-08-06 22:45:23 | [Mutex] isItemNotified: received:node:28ba5c22-01fc-4a88-a2fa-31a31886de34:localhost:node-5fd79856-7f1f-4eb0-a34a-5db56e438f06:Node 5fd79856-7f1f-4eb0-a34a-5db56e438f06 :: false

2023-08-06 22:45:23 | [Mutex] waiting for: [received:nodes:5a712b9d-60ec-42b2-8bfb-931bc64e6328:localhost]

2023-08-06 22:45:23 | [Mutex] received everything.

2023-08-06 22:45:23 | [Mutex] isItemNotified: received:node:5a712b9d-60ec-42b2-8bfb-931bc64e6328:localhost:node-5fd79856-7f1f-4eb0-a34a-5db56e438f06:Node 5fd79856-7f1f-4eb0-a34a-5db56e438f06 :: false

publishItemsToNodes 0.200s
2023-08-06 22:45:20 |

2023-08-06 22:45:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:20 | ------------------------------------

2023-08-06 22:45:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5fd79856-7f1f-4eb0-a34a-5db56e438f06</node><item-id>item-949fb891-6dd1-4ea1-b2df-295881f670a4</item-id><entry><test>item-949fb891-6dd1-4ea1-b2df-295881f670a4</test></entry></data>

2023-08-06 22:45:20 | 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-949fb891-6dd1-4ea1-b2df-295881f670a4</value></item-id></result>

2023-08-06 22:45:20 | [Mutex] received everything.

2023-08-06 22:45:20 | [Mutex] isItemNotified: published:item:notifieditem-949fb891-6dd1-4ea1-b2df-295881f670a4:admin@test-domain.com :: true

retractItemsFromNodes 0.280s
2023-08-06 22:45:21 |

2023-08-06 22:45:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:21 | ------------------------------------

2023-08-06 22:45:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5fd79856-7f1f-4eb0-a34a-5db56e438f06</node><item-id>item-949fb891-6dd1-4ea1-b2df-295881f670a4</item-id></data>

2023-08-06 22:45:21 | 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-949fb891-6dd1-4ea1-b2df-295881f670a4</value></item-id></result>

2023-08-06 22:45:21 | [Mutex] received everything.

2023-08-06 22:45:21 | [Mutex] isItemNotified: retracted:item:notifieditem-949fb891-6dd1-4ea1-b2df-295881f670a4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.205s
2023-08-06 22:45:20 |

2023-08-06 22:45:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:20 | ------------------------------------

2023-08-06 22:45:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5fd79856-7f1f-4eb0-a34a-5db56e438f06</node><item-id>item-949fb891-6dd1-4ea1-b2df-295881f670a4</item-id></data>

2023-08-06 22:45:21 | 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-5fd79856-7f1f-4eb0-a34a-5db56e438f06</value></node><item-id label="Item ID" type="text-single"><value>item-949fb891-6dd1-4ea1-b2df-295881f670a4</value></item-id><item label="Item" type="text-multi"><value><item id="item-949fb891-6dd1-4ea1-b2df-295881f670a4"><test>item-949fb891-6dd1-4ea1-b2df-295881f670a4</test></item></value></item></result>

2023-08-06 22:45:21 | [Mutex] notify: [retrieved:item:item-949fb891-6dd1-4ea1-b2df-295881f670a4:payload-matches:true:localhost]

2023-08-06 22:45:21 | [Mutex] received everything.

2023-08-06 22:45:21 | [Mutex] isItemNotified: retrieved:item:item-949fb891-6dd1-4ea1-b2df-295881f670a4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-08-06 22:45:21 |

2023-08-06 22:45:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:21 | ------------------------------------

2023-08-06 22:45:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-08-06 22:45:21 | 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-aca67337-51c5-4f92-9455-7f9793ede2e2</value><value>node-5fd79856-7f1f-4eb0-a34a-5db56e438f06</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-08-06 22:45:21 |

2023-08-06 22:45:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:21 | ------------------------------------

2023-08-06 22:45:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5fd79856-7f1f-4eb0-a34a-5db56e438f06)</node-pattern></data>

2023-08-06 22:45:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.162s
2023-08-06 22:45:19 |

2023-08-06 22:45:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:19 | ------------------------------------

2023-08-06 22:45:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5fd79856-7f1f-4eb0-a34a-5db56e438f06</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-06 22:45:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.194s
2023-08-06 22:45:21 |

2023-08-06 22:45:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-08-06 22:45:21 | ------------------------------------

2023-08-06 22:45:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5fd79856-7f1f-4eb0-a34a-5db56e438f06</node><jids><value>admin@test-domain.com</value></jids></data>

2023-08-06 22:45:21 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>