Generated by TestNG with ReportNG at 21:09 PST on Tuesday 23 February 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.071s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.749s
2021-02-23 21:26:41 |

2021-02-23 21:26:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-02-23 21:26:41 | ------------------------------------

2021-02-23 21:26:41 | [Mutex] isItemNotified: node_xrlaq0203:exists :: false

2021-02-23 21:26:41 | [Mutex] waiting for: [node_xrlaq0203:create_node]

2021-02-23 21:26:41 | [Mutex] received everything.

2021-02-23 21:26:41 | [Mutex] isItemNotified: node_xrlaq0203:create_node:success :: true

2021-02-23 21:26:41 | [Mutex] waiting for: [node_xrlaq0203:subscribe_node]

2021-02-23 21:26:41 | [Mutex] waiting for: [node_xrlaq0203:subscribe_node]

2021-02-23 21:26:41 | [Mutex] received everything.

2021-02-23 21:26:41 | [Mutex] isItemNotified: node_xrlaq0203:subscribe_node:success :: true

2021-02-23 21:26:41 |


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


2021-02-23 21:26:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:26:41 | command: <data><node>node_xrlaq0203</node><entry><content>content_2p0czf0204</content></entry></data>

2021-02-23 21:26:41 | target: http://localhost:8088

2021-02-23 21:26:41 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-02-23 21:26:41 | entity: <data><node>node_xrlaq0203</node><entry><content>content_2p0czf0204</content></entry></data>

2021-02-23 21:26:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:26:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-23 21:26:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eeb64d29-d6c6-4271-9cff-4375fcafb64f</value></item-id></result>

2021-02-23 21:26:41 | contains: true

2021-02-23 21:26:41 | [Mutex] received everything.

2021-02-23 21:26:41 | [Mutex] isItemNotified: user_regularnhx4fw0202@test-domain.com:message:received:content_2p0czf0204 :: true

2021-02-23 21:26:41 |


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


2021-02-23 21:26:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:26:41 | command: <data><node>node_xrlaq0203</node><expire-at>2021-02-24T05:26:36Z</expire-at><entry><content>content_bg66i10205</content></entry></data>

2021-02-23 21:26:41 | target: http://localhost:8088

2021-02-23 21:26:41 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-02-23 21:26:41 | entity: <data><node>node_xrlaq0203</node><expire-at>2021-02-24T05:26:36Z</expire-at><entry><content>content_bg66i10205</content></entry></data>

2021-02-23 21:26:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:26:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-23 21:26:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>936ed770-2b0b-4aa4-bbef-4d967b0cd1e7</value></item-id></result>

2021-02-23 21:26:41 | contains: true

2021-02-23 21:26:41 | [Mutex] waiting for: [user_regularnhx4fw0202@test-domain.com:message:received:content_bg66i10205]

2021-02-23 21:26:56 | [Mutex] timeout. Not received [user_regularnhx4fw0202@test-domain.com:message:received:content_bg66i10205]

2021-02-23 21:26:56 | [Mutex] isItemNotified: user_regularnhx4fw0202@test-domain.com:message:received:content_bg66i10205 :: false

2021-02-23 21:26:56 |


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


2021-02-23 21:26:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:26:56 | command: <data><node>node_xrlaq0203</node><entry><content>content_umstgh0206</content></entry></data>

2021-02-23 21:26:56 | target: http://localhost:8088

2021-02-23 21:26:56 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-02-23 21:26:56 | entity: <data><node>node_xrlaq0203</node><entry><content>content_umstgh0206</content></entry></data>

2021-02-23 21:26:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:26:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-23 21:26:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6cc8d09d-8430-485e-84ac-281e3d0af003</value></item-id></result>

2021-02-23 21:26:56 | contains: true

2021-02-23 21:27:01 | [Mutex] waiting for: [user_regularnhx4fw0202@test-domain.com:message:received:content_umstgh0206]

2021-02-23 21:27:01 | [Mutex] waiting for: [user_regularnhx4fw0202@test-domain.com:message:received:content_umstgh0206]

2021-02-23 21:27:01 | [Mutex] received everything.

2021-02-23 21:27:01 | [Mutex] isItemNotified: user_regularnhx4fw0202@test-domain.com:message:received:content_umstgh0206 :: true

2021-02-23 21:27:01 |


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


2021-02-23 21:27:01 | [Mutex] received everything.

2021-02-23 21:27:01 | [Mutex] isItemNotified: node_xrlaq0203:subscribe_node:success :: true

2021-02-23 21:27:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-02-23 21:27:01 | command: <data><node>node_xrlaq0203</node><expire-at>2021-02-24T05:27:06Z</expire-at><entry><content>content_3wmom10207</content></entry></data>

2021-02-23 21:27:01 | target: http://localhost:8088

2021-02-23 21:27:01 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2021-02-23 21:27:01 | entity: <data><node>node_xrlaq0203</node><expire-at>2021-02-24T05:27:06Z</expire-at><entry><content>content_3wmom10207</content></entry></data>

2021-02-23 21:27:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:27:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-02-23 21:27:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f552b682-0b70-4e6f-9837-1d2cd8ea76b6</value></item-id></result>

2021-02-23 21:27:01 | contains: true

2021-02-23 21:27:10 | [Mutex] waiting for: [user_regularnhx4fw0202@test-domain.com:message:received:content_3wmom10207]

2021-02-23 21:27:10 | [Mutex] waiting for: [user_regularnhx4fw0202@test-domain.com:message:received:content_3wmom10207]

2021-02-23 21:27:25 | [Mutex] timeout. Not received [user_regularnhx4fw0202@test-domain.com:message:received:content_3wmom10207]

2021-02-23 21:27:25 | [Mutex] received everything.

2021-02-23 21:27:25 | [Mutex] isItemNotified: user_regularnhx4fw0202@test-domain.com:message:received:content_3wmom10207 :: false

2021-02-23 21:27:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3wmom10207 :: true