Generated by TestNG with ReportNG at 22:36 PDT on Sunday 08 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.672s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2022-05-08 22:50:37 |

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

2022-05-08 22:50:37 | ------------------------------------

2022-05-08 22:50:37 | [Mutex] waiting for: [configured:node:node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0:node-62b08789-ee5b-4d83-b906-8318da433630]

2022-05-08 22:50:37 | [Mutex] received everything.

2022-05-08 22:50:37 | [Mutex] isItemNotified: configured:node:node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0:node-62b08789-ee5b-4d83-b906-8318da433630 :: true

2022-05-08 22:50:38 | [Mutex] waiting for: [received:nodes:3a0bbec2-3110-425b-bbc1-c0599e990106:localhost]

2022-05-08 22:50:38 | [Mutex] received everything.

2022-05-08 22:50:38 | [Mutex] isItemNotified: received:node:3a0bbec2-3110-425b-bbc1-c0599e990106:localhost:node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0:Node ed7aee85-7b6b-4674-8ed6-ff73808fbcc0 :: true

2022-05-08 22:50:38 | [Mutex] waiting for: [received:nodes:8bf01435-b7f7-45ab-ba47-b4298b31678b:localhost]

2022-05-08 22:50:38 | [Mutex] waiting for: [received:nodes:8bf01435-b7f7-45ab-ba47-b4298b31678b:localhost]

2022-05-08 22:50:38 | [Mutex] received everything.

2022-05-08 22:50:38 | [Mutex] isItemNotified: received:node:8bf01435-b7f7-45ab-ba47-b4298b31678b:localhost:node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0:Node ed7aee85-7b6b-4674-8ed6-ff73808fbcc0 :: false

createNodes 1.412s
2022-05-08 22:50:35 |

2022-05-08 22:50:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:50:35 | ------------------------------------

2022-05-08 22:50:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</title></pubsub></data>

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

2022-05-08 22:50:36 | [Mutex] waiting for: [received:nodes:5a399bb7-edda-4dcc-8b65-95522a512a11:localhost]

2022-05-08 22:50:36 | [Mutex] waiting for: [received:nodes:5a399bb7-edda-4dcc-8b65-95522a512a11:localhost]

2022-05-08 22:50:36 | [Mutex] received everything.

2022-05-08 22:50:36 | [Mutex] isItemNotified: received:node:5a399bb7-edda-4dcc-8b65-95522a512a11:localhost:node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0:Node ed7aee85-7b6b-4674-8ed6-ff73808fbcc0 :: true

createSubnodes 1.033s
2022-05-08 22:50:36 |

2022-05-08 22:50:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:50:36 | ------------------------------------

2022-05-08 22:50:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-62b08789-ee5b-4d83-b906-8318da433630</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 62b08789-ee5b-4d83-b906-8318da433630</title></pubsub></data>

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

2022-05-08 22:50:37 | [Mutex] waiting for: [received:nodes:e229810d-ab5b-40a6-9513-2dc7c8533497:localhost]

2022-05-08 22:50:37 | [Mutex] received everything.

2022-05-08 22:50:37 | [Mutex] isItemNotified: received:node:e229810d-ab5b-40a6-9513-2dc7c8533497:localhost:node-62b08789-ee5b-4d83-b906-8318da433630:Node 62b08789-ee5b-4d83-b906-8318da433630 :: true

deleteNodes 1.031s
2022-05-08 22:50:43 |

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

2022-05-08 22:50:43 | ------------------------------------

2022-05-08 22:50:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-62b08789-ee5b-4d83-b906-8318da433630</node></data>

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

2022-05-08 22:50:44 | [Mutex] waiting for: [received:nodes:c559f17b-b567-4020-a612-1286615330b5:localhost]

2022-05-08 22:50:44 | [Mutex] waiting for: [received:nodes:c559f17b-b567-4020-a612-1286615330b5:localhost]

2022-05-08 22:50:44 | [Mutex] waiting for: [received:nodes:c559f17b-b567-4020-a612-1286615330b5:localhost]

2022-05-08 22:50:44 | [Mutex] received everything.

2022-05-08 22:50:44 | [Mutex] isItemNotified: received:node:c559f17b-b567-4020-a612-1286615330b5:localhost:node-62b08789-ee5b-4d83-b906-8318da433630:Node 62b08789-ee5b-4d83-b906-8318da433630 :: false

deleteSubnodes 1.139s
2022-05-08 22:50:41 |

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

2022-05-08 22:50:41 | ------------------------------------

2022-05-08 22:50:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</node></data>

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

2022-05-08 22:50:43 | [Mutex] waiting for: [received:nodes:1f7acea8-d528-4b10-81c6-69453e6822b9:localhost]

2022-05-08 22:50:43 | [Mutex] received everything.

2022-05-08 22:50:43 | [Mutex] isItemNotified: received:node:1f7acea8-d528-4b10-81c6-69453e6822b9:localhost:node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0:Node ed7aee85-7b6b-4674-8ed6-ff73808fbcc0 :: false

2022-05-08 22:50:43 | [Mutex] waiting for: [received:nodes:8d9dedcb-23c5-4403-8d7e-2a7e2da76f06:localhost]

2022-05-08 22:50:43 | [Mutex] received everything.

2022-05-08 22:50:43 | [Mutex] isItemNotified: received:node:8d9dedcb-23c5-4403-8d7e-2a7e2da76f06:localhost:node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0:Node ed7aee85-7b6b-4674-8ed6-ff73808fbcc0 :: false

publishItemsToNodes 0.255s
2022-05-08 22:50:39 |

2022-05-08 22:50:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:50:39 | ------------------------------------

2022-05-08 22:50:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</node><item-id>item-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d</item-id><entry><test>item-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d</test></entry></data>

2022-05-08 22:50:40 | 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-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d</value></item-id></result>

2022-05-08 22:50:40 | [Mutex] received everything.

2022-05-08 22:50:40 | [Mutex] isItemNotified: published:item:notifieditem-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d:admin@test-domain.com :: true

retractItemsFromNodes 0.280s
2022-05-08 22:50:40 |

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

2022-05-08 22:50:40 | ------------------------------------

2022-05-08 22:50:40 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</node><item-id>item-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d</item-id></data>

2022-05-08 22:50:40 | 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-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d</value></item-id></result>

2022-05-08 22:50:40 | [Mutex] received everything.

2022-05-08 22:50:40 | [Mutex] isItemNotified: retracted:item:notifieditem-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.174s
2022-05-08 22:50:40 |

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

2022-05-08 22:50:40 | ------------------------------------

2022-05-08 22:50:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</node><item-id>item-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d</item-id></data>

2022-05-08 22:50:40 | 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-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</value></node><item-id type="text-single" label="Item ID"><value>item-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d</value></item-id><item type="text-multi" label="Item"><value><item id="item-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d"><test>item-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d</test></item></value></item></result>

2022-05-08 22:50:40 | [Mutex] notify: [retrieved:item:item-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d:payload-matches:true:localhost]

2022-05-08 22:50:40 | [Mutex] received everything.

2022-05-08 22:50:40 | [Mutex] isItemNotified: retrieved:item:item-6e7bd97e-8a7d-4bee-a2e9-d9f66e65e05d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-08 22:50:40 |

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

2022-05-08 22:50:40 | ------------------------------------

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

2022-05-08 22:50:40 | 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-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</value><value>node-62b08789-ee5b-4d83-b906-8318da433630</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-08 22:50:40 |

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

2022-05-08 22:50:40 | ------------------------------------

2022-05-08 22:50:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0)</node-pattern></data>

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

subscribeNodes 1.137s
2022-05-08 22:50:38 |

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

2022-05-08 22:50:38 | ------------------------------------

2022-05-08 22:50:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.219s
2022-05-08 22:50:40 |

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

2022-05-08 22:50:40 | ------------------------------------

2022-05-08 22:50:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ed7aee85-7b6b-4674-8ed6-ff73808fbcc0</node><jids><value>admin@test-domain.com</value></jids></data>

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