Generated by TestNG with ReportNG at 21:41 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.528s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.743s
2021-03-08 21:57:20 |

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

2021-03-08 21:57:20 | ------------------------------------

2021-03-08 21:57:20 | [Mutex] isItemNotified: node_vr6t0d0203:exists :: false

2021-03-08 21:57:20 | [Mutex] waiting for: [node_vr6t0d0203:create_node]

2021-03-08 21:57:20 | [Mutex] received everything.

2021-03-08 21:57:20 | [Mutex] isItemNotified: node_vr6t0d0203:create_node:success :: true

2021-03-08 21:57:20 | [Mutex] waiting for: [node_vr6t0d0203:subscribe_node]

2021-03-08 21:57:20 | [Mutex] waiting for: [node_vr6t0d0203:subscribe_node]

2021-03-08 21:57:20 | [Mutex] received everything.

2021-03-08 21:57:20 | [Mutex] isItemNotified: node_vr6t0d0203:subscribe_node:success :: true

2021-03-08 21:57:20 |


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


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

2021-03-08 21:57:20 | command: <data><node>node_vr6t0d0203</node><entry><content>content_y9ukth0204</content></entry></data>

2021-03-08 21:57:20 | target: http://localhost:8088

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

2021-03-08 21:57:20 | entity: <data><node>node_vr6t0d0203</node><entry><content>content_y9ukth0204</content></entry></data>

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

2021-03-08 21:57:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cf541d58-0314-410e-bf6e-565c932b572a</value></item-id></result>

2021-03-08 21:57:20 | contains: true

2021-03-08 21:57:20 | [Mutex] received everything.

2021-03-08 21:57:20 | [Mutex] isItemNotified: user_regularx6vq790202@test-domain.com:message:received:content_y9ukth0204 :: true

2021-03-08 21:57:20 |


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


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

2021-03-08 21:57:20 | command: <data><node>node_vr6t0d0203</node><expire-at>2021-03-09T05:57:15Z</expire-at><entry><content>content_s5yq8d0205</content></entry></data>

2021-03-08 21:57:20 | target: http://localhost:8088

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

2021-03-08 21:57:20 | entity: <data><node>node_vr6t0d0203</node><expire-at>2021-03-09T05:57:15Z</expire-at><entry><content>content_s5yq8d0205</content></entry></data>

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

2021-03-08 21:57:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7471a6bd-974b-4ba5-bc7b-9bfd611ddddf</value></item-id></result>

2021-03-08 21:57:20 | contains: true

2021-03-08 21:57:20 | [Mutex] waiting for: [user_regularx6vq790202@test-domain.com:message:received:content_s5yq8d0205]

2021-03-08 21:57:35 | [Mutex] timeout. Not received [user_regularx6vq790202@test-domain.com:message:received:content_s5yq8d0205]

2021-03-08 21:57:35 | [Mutex] isItemNotified: user_regularx6vq790202@test-domain.com:message:received:content_s5yq8d0205 :: false

2021-03-08 21:57:35 |


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


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

2021-03-08 21:57:35 | command: <data><node>node_vr6t0d0203</node><entry><content>content_s0ynfw0206</content></entry></data>

2021-03-08 21:57:35 | target: http://localhost:8088

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

2021-03-08 21:57:35 | entity: <data><node>node_vr6t0d0203</node><entry><content>content_s0ynfw0206</content></entry></data>

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

2021-03-08 21:57:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c9b716d-1d3f-4da2-916f-211cc36fd9e0</value></item-id></result>

2021-03-08 21:57:35 | contains: true

2021-03-08 21:57:40 | [Mutex] waiting for: [user_regularx6vq790202@test-domain.com:message:received:content_s0ynfw0206]

2021-03-08 21:57:40 | [Mutex] waiting for: [user_regularx6vq790202@test-domain.com:message:received:content_s0ynfw0206]

2021-03-08 21:57:40 | [Mutex] received everything.

2021-03-08 21:57:40 | [Mutex] isItemNotified: user_regularx6vq790202@test-domain.com:message:received:content_s0ynfw0206 :: true

2021-03-08 21:57:40 |


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


2021-03-08 21:57:40 | [Mutex] received everything.

2021-03-08 21:57:40 | [Mutex] isItemNotified: node_vr6t0d0203:subscribe_node:success :: true

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

2021-03-08 21:57:40 | command: <data><node>node_vr6t0d0203</node><expire-at>2021-03-09T05:57:45Z</expire-at><entry><content>content_yz0mvz0207</content></entry></data>

2021-03-08 21:57:40 | target: http://localhost:8088

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

2021-03-08 21:57:40 | entity: <data><node>node_vr6t0d0203</node><expire-at>2021-03-09T05:57:45Z</expire-at><entry><content>content_yz0mvz0207</content></entry></data>

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

2021-03-08 21:57:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c25e41d4-d581-4733-8804-d583ebffa79a</value></item-id></result>

2021-03-08 21:57:40 | contains: true

2021-03-08 21:57:48 | [Mutex] waiting for: [user_regularx6vq790202@test-domain.com:message:received:content_yz0mvz0207]

2021-03-08 21:57:48 | [Mutex] waiting for: [user_regularx6vq790202@test-domain.com:message:received:content_yz0mvz0207]

2021-03-08 21:58:03 | [Mutex] timeout. Not received [user_regularx6vq790202@test-domain.com:message:received:content_yz0mvz0207]

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

2021-03-08 21:58:03 | [Mutex] isItemNotified: user_regularx6vq790202@test-domain.com:message:received:content_yz0mvz0207 :: false

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