Generated by TestNG with ReportNG at 21:14 PST on Monday 08 March 2021
root@87f6aca6b6f2 / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.493s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.735s
2021-03-08 21:29:02 |

2021-03-08 21:29:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-08 21:29:02 | ------------------------------------

2021-03-08 21:29:02 | [Mutex] isItemNotified: node_79xy2m0203:exists :: false

2021-03-08 21:29:02 | [Mutex] waiting for: [node_79xy2m0203:create_node]

2021-03-08 21:29:02 | [Mutex] received everything.

2021-03-08 21:29:02 | [Mutex] isItemNotified: node_79xy2m0203:create_node:success :: true

2021-03-08 21:29:02 | [Mutex] waiting for: [node_79xy2m0203:subscribe_node]

2021-03-08 21:29:02 | [Mutex] waiting for: [node_79xy2m0203:subscribe_node]

2021-03-08 21:29:02 | [Mutex] received everything.

2021-03-08 21:29:02 | [Mutex] isItemNotified: node_79xy2m0203:subscribe_node:success :: true

2021-03-08 21:29:02 |


===== publishing normal message (to online)


2021-03-08 21:29:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-08 21:29:02 | command: <data><node>node_79xy2m0203</node><entry><content>content_w7p8wm0204</content></entry></data>

2021-03-08 21:29:02 | target: http://localhost:8088

2021-03-08 21:29:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-08 21:29:02 | entity: <data><node>node_79xy2m0203</node><entry><content>content_w7p8wm0204</content></entry></data>

2021-03-08 21:29:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:29:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-08 21:29:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e5fd407e-4a51-49b0-8e0f-30af8e4826da</value></item-id></result>

2021-03-08 21:29:02 | contains: true

2021-03-08 21:29:02 | [Mutex] waiting for: [user_regularo2n7v30202@test-domain.com:message:received:content_w7p8wm0204]

2021-03-08 21:29:02 | [Mutex] received everything.

2021-03-08 21:29:02 | [Mutex] isItemNotified: user_regularo2n7v30202@test-domain.com:message:received:content_w7p8wm0204 :: true

2021-03-08 21:29:02 |


===== publishing already old message - expecting message being filtered out (to online)


2021-03-08 21:29:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-08 21:29:02 | command: <data><node>node_79xy2m0203</node><expire-at>2021-03-09T05:28:57Z</expire-at><entry><content>content_m1k8sm0205</content></entry></data>

2021-03-08 21:29:02 | target: http://localhost:8088

2021-03-08 21:29:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-08 21:29:02 | entity: <data><node>node_79xy2m0203</node><expire-at>2021-03-09T05:28:57Z</expire-at><entry><content>content_m1k8sm0205</content></entry></data>

2021-03-08 21:29:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:29:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-08 21:29:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fdeee077-b1b1-4c8a-a100-2506ede13068</value></item-id></result>

2021-03-08 21:29:02 | contains: true

2021-03-08 21:29:02 | [Mutex] waiting for: [user_regularo2n7v30202@test-domain.com:message:received:content_m1k8sm0205]

2021-03-08 21:29:17 | [Mutex] timeout. Not received [user_regularo2n7v30202@test-domain.com:message:received:content_m1k8sm0205]

2021-03-08 21:29:17 | [Mutex] isItemNotified: user_regularo2n7v30202@test-domain.com:message:received:content_m1k8sm0205 :: false

2021-03-08 21:29:17 |


===== publishing normal message (to offline)


2021-03-08 21:29:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-08 21:29:17 | command: <data><node>node_79xy2m0203</node><entry><content>content_1vswev0206</content></entry></data>

2021-03-08 21:29:17 | target: http://localhost:8088

2021-03-08 21:29:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-08 21:29:17 | entity: <data><node>node_79xy2m0203</node><entry><content>content_1vswev0206</content></entry></data>

2021-03-08 21:29:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:29:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-08 21:29:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cf430f1e-8600-448c-84e6-095006323d95</value></item-id></result>

2021-03-08 21:29:17 | contains: true

2021-03-08 21:29:22 | [Mutex] waiting for: [user_regularo2n7v30202@test-domain.com:message:received:content_1vswev0206]

2021-03-08 21:29:22 | [Mutex] received everything.

2021-03-08 21:29:22 | [Mutex] isItemNotified: user_regularo2n7v30202@test-domain.com:message:received:content_1vswev0206 :: true

2021-03-08 21:29:22 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-03-08 21:29:22 | [Mutex] received everything.

2021-03-08 21:29:22 | [Mutex] isItemNotified: node_79xy2m0203:subscribe_node:success :: true

2021-03-08 21:29:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-08 21:29:22 | command: <data><node>node_79xy2m0203</node><expire-at>2021-03-09T05:29:27Z</expire-at><entry><content>content_uqo9qr0207</content></entry></data>

2021-03-08 21:29:22 | target: http://localhost:8088

2021-03-08 21:29:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-08 21:29:22 | entity: <data><node>node_79xy2m0203</node><expire-at>2021-03-09T05:29:27Z</expire-at><entry><content>content_uqo9qr0207</content></entry></data>

2021-03-08 21:29:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:29:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-08 21:29:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>41b33bb9-637c-4013-8016-98920ab27758</value></item-id></result>

2021-03-08 21:29:22 | contains: true

2021-03-08 21:29:30 | [Mutex] waiting for: [user_regularo2n7v30202@test-domain.com:message:received:content_uqo9qr0207]

2021-03-08 21:29:30 | [Mutex] waiting for: [user_regularo2n7v30202@test-domain.com:message:received:content_uqo9qr0207]

2021-03-08 21:29:45 | [Mutex] timeout. Not received [user_regularo2n7v30202@test-domain.com:message:received:content_uqo9qr0207]

2021-03-08 21:29:45 | [Mutex] received everything.

2021-03-08 21:29:45 | [Mutex] isItemNotified: user_regularo2n7v30202@test-domain.com:message:received:content_uqo9qr0207 :: false

2021-03-08 21:29:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uqo9qr0207 :: true