Generated by TestNG with ReportNG at 22:23 PDT on Monday 09 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.652s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2022-05-09 22:37:41 |

2022-05-09 22:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:41 | ------------------------------------

2022-05-09 22:37:41 | [Mutex] waiting for: [configured:node:node-8ef65821-ea3a-4d80-aecf-3045f363c346:node-8393e3c4-c1ce-4eca-b45e-2abdf3a77f23]

2022-05-09 22:37:41 | [Mutex] received everything.

2022-05-09 22:37:41 | [Mutex] isItemNotified: configured:node:node-8ef65821-ea3a-4d80-aecf-3045f363c346:node-8393e3c4-c1ce-4eca-b45e-2abdf3a77f23 :: true

2022-05-09 22:37:42 | [Mutex] waiting for: [received:nodes:94acb97c-57e4-40b3-ba6c-275e8a4d706e:localhost]

2022-05-09 22:37:42 | [Mutex] received everything.

2022-05-09 22:37:42 | [Mutex] isItemNotified: received:node:94acb97c-57e4-40b3-ba6c-275e8a4d706e:localhost:node-8ef65821-ea3a-4d80-aecf-3045f363c346:Node 8ef65821-ea3a-4d80-aecf-3045f363c346 :: true

2022-05-09 22:37:42 | [Mutex] waiting for: [received:nodes:df890025-d99e-4730-8690-c1e784389a8e:localhost]

2022-05-09 22:37:42 | [Mutex] waiting for: [received:nodes:df890025-d99e-4730-8690-c1e784389a8e:localhost]

2022-05-09 22:37:42 | [Mutex] received everything.

2022-05-09 22:37:42 | [Mutex] isItemNotified: received:node:df890025-d99e-4730-8690-c1e784389a8e:localhost:node-8ef65821-ea3a-4d80-aecf-3045f363c346:Node 8ef65821-ea3a-4d80-aecf-3045f363c346 :: false

createNodes 1.411s
2022-05-09 22:37:38 |

2022-05-09 22:37:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:38 | ------------------------------------

2022-05-09 22:37:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8ef65821-ea3a-4d80-aecf-3045f363c346</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8ef65821-ea3a-4d80-aecf-3045f363c346</title></pubsub></data>

2022-05-09 22:37:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-09 22:37:40 | [Mutex] waiting for: [received:nodes:26baf270-45e7-405b-afce-2ba0c1516ab7:localhost]

2022-05-09 22:37:40 | [Mutex] waiting for: [received:nodes:26baf270-45e7-405b-afce-2ba0c1516ab7:localhost]

2022-05-09 22:37:40 | [Mutex] received everything.

2022-05-09 22:37:40 | [Mutex] isItemNotified: received:node:26baf270-45e7-405b-afce-2ba0c1516ab7:localhost:node-8ef65821-ea3a-4d80-aecf-3045f363c346:Node 8ef65821-ea3a-4d80-aecf-3045f363c346 :: true

createSubnodes 1.027s
2022-05-09 22:37:40 |

2022-05-09 22:37:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:40 | ------------------------------------

2022-05-09 22:37:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8393e3c4-c1ce-4eca-b45e-2abdf3a77f23</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8393e3c4-c1ce-4eca-b45e-2abdf3a77f23</title></pubsub></data>

2022-05-09 22:37:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-09 22:37:41 | [Mutex] waiting for: [received:nodes:0f7e2cc2-3ccb-46b3-aafe-4cefc36df1ed:localhost]

2022-05-09 22:37:41 | [Mutex] waiting for: [received:nodes:0f7e2cc2-3ccb-46b3-aafe-4cefc36df1ed:localhost]

2022-05-09 22:37:41 | [Mutex] received everything.

2022-05-09 22:37:41 | [Mutex] isItemNotified: received:node:0f7e2cc2-3ccb-46b3-aafe-4cefc36df1ed:localhost:node-8393e3c4-c1ce-4eca-b45e-2abdf3a77f23:Node 8393e3c4-c1ce-4eca-b45e-2abdf3a77f23 :: true

deleteNodes 1.063s
2022-05-09 22:37:46 |

2022-05-09 22:37:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:46 | ------------------------------------

2022-05-09 22:37:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8393e3c4-c1ce-4eca-b45e-2abdf3a77f23</node></data>

2022-05-09 22:37:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-09 22:37:47 | [Mutex] waiting for: [received:nodes:9302c8df-3afd-404f-b06b-5f1c2ef2b6b2:localhost]

2022-05-09 22:37:47 | [Mutex] received everything.

2022-05-09 22:37:47 | [Mutex] isItemNotified: received:node:9302c8df-3afd-404f-b06b-5f1c2ef2b6b2:localhost:node-8393e3c4-c1ce-4eca-b45e-2abdf3a77f23:Node 8393e3c4-c1ce-4eca-b45e-2abdf3a77f23 :: false

deleteSubnodes 1.142s
2022-05-09 22:37:45 |

2022-05-09 22:37:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:45 | ------------------------------------

2022-05-09 22:37:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8ef65821-ea3a-4d80-aecf-3045f363c346</node></data>

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

2022-05-09 22:37:46 | [Mutex] waiting for: [received:nodes:a780d7f2-8c2e-4795-a2b1-5fec8f3e4a85:localhost]

2022-05-09 22:37:46 | [Mutex] received everything.

2022-05-09 22:37:46 | [Mutex] isItemNotified: received:node:a780d7f2-8c2e-4795-a2b1-5fec8f3e4a85:localhost:node-8ef65821-ea3a-4d80-aecf-3045f363c346:Node 8ef65821-ea3a-4d80-aecf-3045f363c346 :: false

2022-05-09 22:37:46 | [Mutex] waiting for: [received:nodes:d6806160-26f5-49db-98ed-4ce607e05872:localhost]

2022-05-09 22:37:46 | [Mutex] received everything.

2022-05-09 22:37:46 | [Mutex] isItemNotified: received:node:d6806160-26f5-49db-98ed-4ce607e05872:localhost:node-8ef65821-ea3a-4d80-aecf-3045f363c346:Node 8ef65821-ea3a-4d80-aecf-3045f363c346 :: false

publishItemsToNodes 0.181s
2022-05-09 22:37:43 |

2022-05-09 22:37:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:43 | ------------------------------------

2022-05-09 22:37:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8ef65821-ea3a-4d80-aecf-3045f363c346</node><item-id>item-ebc70028-6bf6-4619-acf5-b21fefe36fb9</item-id><entry><test>item-ebc70028-6bf6-4619-acf5-b21fefe36fb9</test></entry></data>

2022-05-09 22:37:43 | 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-ebc70028-6bf6-4619-acf5-b21fefe36fb9</value></item-id></result>

2022-05-09 22:37:43 | [Mutex] waiting for: [published:item:notifieditem-ebc70028-6bf6-4619-acf5-b21fefe36fb9:admin@test-domain.com]

2022-05-09 22:37:43 | [Mutex] received everything.

2022-05-09 22:37:43 | [Mutex] isItemNotified: published:item:notifieditem-ebc70028-6bf6-4619-acf5-b21fefe36fb9:admin@test-domain.com :: true

retractItemsFromNodes 0.286s
2022-05-09 22:37:44 |

2022-05-09 22:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:44 | ------------------------------------

2022-05-09 22:37:44 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8ef65821-ea3a-4d80-aecf-3045f363c346</node><item-id>item-ebc70028-6bf6-4619-acf5-b21fefe36fb9</item-id></data>

2022-05-09 22:37:44 | 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-ebc70028-6bf6-4619-acf5-b21fefe36fb9</value></item-id></result>

2022-05-09 22:37:44 | [Mutex] waiting for: [retracted:item:notifieditem-ebc70028-6bf6-4619-acf5-b21fefe36fb9:admin@test-domain.com]

2022-05-09 22:37:44 | [Mutex] received everything.

2022-05-09 22:37:44 | [Mutex] isItemNotified: retracted:item:notifieditem-ebc70028-6bf6-4619-acf5-b21fefe36fb9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.275s
2022-05-09 22:37:43 |

2022-05-09 22:37:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:43 | ------------------------------------

2022-05-09 22:37:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8ef65821-ea3a-4d80-aecf-3045f363c346</node><item-id>item-ebc70028-6bf6-4619-acf5-b21fefe36fb9</item-id></data>

2022-05-09 22:37:44 | 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-8ef65821-ea3a-4d80-aecf-3045f363c346</value></node><item-id label="Item ID" type="text-single"><value>item-ebc70028-6bf6-4619-acf5-b21fefe36fb9</value></item-id><item label="Item" type="text-multi"><value><item id="item-ebc70028-6bf6-4619-acf5-b21fefe36fb9"><test>item-ebc70028-6bf6-4619-acf5-b21fefe36fb9</test></item></value></item></result>

2022-05-09 22:37:44 | [Mutex] notify: [retrieved:item:item-ebc70028-6bf6-4619-acf5-b21fefe36fb9:payload-matches:true:localhost]

2022-05-09 22:37:44 | [Mutex] received everything.

2022-05-09 22:37:44 | [Mutex] isItemNotified: retrieved:item:item-ebc70028-6bf6-4619-acf5-b21fefe36fb9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-05-09 22:37:44 |

2022-05-09 22:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:44 | ------------------------------------

2022-05-09 22:37:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-09 22:37:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-8ef65821-ea3a-4d80-aecf-3045f363c346</value><value>test</value><value>node-8393e3c4-c1ce-4eca-b45e-2abdf3a77f23</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-09 22:37:44 |

2022-05-09 22:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:44 | ------------------------------------

2022-05-09 22:37:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8ef65821-ea3a-4d80-aecf-3045f363c346)</node-pattern></data>

2022-05-09 22:37:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.125s
2022-05-09 22:37:42 |

2022-05-09 22:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:42 | ------------------------------------

2022-05-09 22:37:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8ef65821-ea3a-4d80-aecf-3045f363c346</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-09 22:37:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.180s
2022-05-09 22:37:44 |

2022-05-09 22:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-09 22:37:44 | ------------------------------------

2022-05-09 22:37:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8ef65821-ea3a-4d80-aecf-3045f363c346</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-09 22:37:44 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>