Generated by TestNG with ReportNG at 21:43 PST on Monday 01 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.390s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.703s
2021-03-01 21:58:38 |

2021-03-01 21:58:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-01 21:58:38 | ------------------------------------

2021-03-01 21:58:38 | [Mutex] isItemNotified: node_7113oy0203:exists :: false

2021-03-01 21:58:38 | [Mutex] waiting for: [node_7113oy0203:create_node]

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

2021-03-01 21:58:38 | [Mutex] isItemNotified: node_7113oy0203:create_node:success :: true

2021-03-01 21:58:38 | [Mutex] waiting for: [node_7113oy0203:subscribe_node]

2021-03-01 21:58:38 | [Mutex] waiting for: [node_7113oy0203:subscribe_node]

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

2021-03-01 21:58:38 | [Mutex] isItemNotified: node_7113oy0203:subscribe_node:success :: true

2021-03-01 21:58:38 |


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


2021-03-01 21:58:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-01 21:58:38 | command: <data><node>node_7113oy0203</node><entry><content>content_1pc48t0204</content></entry></data>

2021-03-01 21:58:38 | target: http://localhost:8088

2021-03-01 21:58:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-01 21:58:38 | entity: <data><node>node_7113oy0203</node><entry><content>content_1pc48t0204</content></entry></data>

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

2021-03-01 21:58:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ea6a3171-1472-4128-af51-2a452efb3378</value></item-id></result>

2021-03-01 21:58:38 | contains: true

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

2021-03-01 21:58:38 | [Mutex] isItemNotified: user_regular9qryhr0202@test-domain.com:message:received:content_1pc48t0204 :: true

2021-03-01 21:58:38 |


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


2021-03-01 21:58:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-01 21:58:38 | command: <data><node>node_7113oy0203</node><expire-at>2021-03-02T05:58:33Z</expire-at><entry><content>content_290pol0205</content></entry></data>

2021-03-01 21:58:38 | target: http://localhost:8088

2021-03-01 21:58:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-01 21:58:38 | entity: <data><node>node_7113oy0203</node><expire-at>2021-03-02T05:58:33Z</expire-at><entry><content>content_290pol0205</content></entry></data>

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

2021-03-01 21:58:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>65aa865b-ddde-4cf6-b3ca-f0ad6cb30236</value></item-id></result>

2021-03-01 21:58:38 | contains: true

2021-03-01 21:58:38 | [Mutex] waiting for: [user_regular9qryhr0202@test-domain.com:message:received:content_290pol0205]

2021-03-01 21:58:53 | [Mutex] timeout. Not received [user_regular9qryhr0202@test-domain.com:message:received:content_290pol0205]

2021-03-01 21:58:53 | [Mutex] isItemNotified: user_regular9qryhr0202@test-domain.com:message:received:content_290pol0205 :: false

2021-03-01 21:58:53 |


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


2021-03-01 21:58:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-01 21:58:54 | command: <data><node>node_7113oy0203</node><entry><content>content_4bloqs0206</content></entry></data>

2021-03-01 21:58:54 | target: http://localhost:8088

2021-03-01 21:58:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-01 21:58:54 | entity: <data><node>node_7113oy0203</node><entry><content>content_4bloqs0206</content></entry></data>

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

2021-03-01 21:58:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>55913c96-1cfb-4122-9f70-bfa62012a501</value></item-id></result>

2021-03-01 21:58:54 | contains: true

2021-03-01 21:58:59 | [Mutex] waiting for: [user_regular9qryhr0202@test-domain.com:message:received:content_4bloqs0206]

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

2021-03-01 21:58:59 | [Mutex] isItemNotified: user_regular9qryhr0202@test-domain.com:message:received:content_4bloqs0206 :: true

2021-03-01 21:58:59 |


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


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

2021-03-01 21:58:59 | [Mutex] isItemNotified: node_7113oy0203:subscribe_node:success :: true

2021-03-01 21:58:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-01 21:58:59 | command: <data><node>node_7113oy0203</node><expire-at>2021-03-02T05:59:04Z</expire-at><entry><content>content_j1xq5a0207</content></entry></data>

2021-03-01 21:58:59 | target: http://localhost:8088

2021-03-01 21:58:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-01 21:58:59 | entity: <data><node>node_7113oy0203</node><expire-at>2021-03-02T05:59:04Z</expire-at><entry><content>content_j1xq5a0207</content></entry></data>

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

2021-03-01 21:58:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f060474-c2a9-459b-a7d9-88bd80ce75ed</value></item-id></result>

2021-03-01 21:58:59 | contains: true

2021-03-01 21:59:07 | [Mutex] waiting for: [user_regular9qryhr0202@test-domain.com:message:received:content_j1xq5a0207]

2021-03-01 21:59:22 | [Mutex] timeout. Not received [user_regular9qryhr0202@test-domain.com:message:received:content_j1xq5a0207]

2021-03-01 21:59:22 | [Mutex] received everything.

2021-03-01 21:59:22 | [Mutex] isItemNotified: user_regular9qryhr0202@test-domain.com:message:received:content_j1xq5a0207 :: false

2021-03-01 21:59:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j1xq5a0207 :: true