Generated by TestNG with ReportNG at 21:14 PST on Sunday 01 November 2020
root@eaa73862192b / 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.697s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.786s
2020-11-01 21:29:27 |

2020-11-01 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-11-01 21:29:27 | ------------------------------------

2020-11-01 21:29:27 | [Mutex] isItemNotified: node_l2tyg40203:exists :: false

2020-11-01 21:29:27 | [Mutex] waiting for: [node_l2tyg40203:create_node]

2020-11-01 21:29:27 | [Mutex] received everything.

2020-11-01 21:29:27 | [Mutex] isItemNotified: node_l2tyg40203:create_node:success :: true

2020-11-01 21:29:27 | [Mutex] waiting for: [node_l2tyg40203:subscribe_node]

2020-11-01 21:29:27 | [Mutex] received everything.

2020-11-01 21:29:27 | [Mutex] isItemNotified: node_l2tyg40203:subscribe_node:success :: true

2020-11-01 21:29:27 |


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


2020-11-01 21:29:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:29:27 | command: <data><node>node_l2tyg40203</node><entry><content>content_z9uwzf0204</content></entry></data>

2020-11-01 21:29:27 | target: http://localhost:8088

2020-11-01 21:29:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:29:27 | entity: <data><node>node_l2tyg40203</node><entry><content>content_z9uwzf0204</content></entry></data>

2020-11-01 21:29:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:29:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:29:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>676d6919-475a-4ae0-bbef-fdb5fd7a97de</value></item-id></result>

2020-11-01 21:29:27 | contains: true

2020-11-01 21:29:27 | [Mutex] received everything.

2020-11-01 21:29:27 | [Mutex] isItemNotified: user_regular21qspn0202@test-domain.com:message:received:content_z9uwzf0204 :: true

2020-11-01 21:29:27 |


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


2020-11-01 21:29:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:29:27 | command: <data><node>node_l2tyg40203</node><expire-at>2020-11-02T05:29:22Z</expire-at><entry><content>content_eiw8vg0205</content></entry></data>

2020-11-01 21:29:27 | target: http://localhost:8088

2020-11-01 21:29:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:29:27 | entity: <data><node>node_l2tyg40203</node><expire-at>2020-11-02T05:29:22Z</expire-at><entry><content>content_eiw8vg0205</content></entry></data>

2020-11-01 21:29:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:29:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:29:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c7e6d351-1086-43ab-8649-c8daa45a8525</value></item-id></result>

2020-11-01 21:29:27 | contains: true

2020-11-01 21:29:27 | [Mutex] waiting for: [user_regular21qspn0202@test-domain.com:message:received:content_eiw8vg0205]

2020-11-01 21:29:42 | [Mutex] timeout. Not received [user_regular21qspn0202@test-domain.com:message:received:content_eiw8vg0205]

2020-11-01 21:29:42 | [Mutex] isItemNotified: user_regular21qspn0202@test-domain.com:message:received:content_eiw8vg0205 :: false

2020-11-01 21:29:42 |


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


2020-11-01 21:29:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:29:43 | command: <data><node>node_l2tyg40203</node><entry><content>content_1np72q0206</content></entry></data>

2020-11-01 21:29:43 | target: http://localhost:8088

2020-11-01 21:29:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-11-01 21:29:43 | entity: <data><node>node_l2tyg40203</node><entry><content>content_1np72q0206</content></entry></data>

2020-11-01 21:29:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:29:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:29:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>93adf2be-3617-42ad-9f95-ee17d3654166</value></item-id></result>

2020-11-01 21:29:43 | contains: true

2020-11-01 21:29:48 | [Mutex] waiting for: [user_regular21qspn0202@test-domain.com:message:received:content_1np72q0206]

2020-11-01 21:29:48 | [Mutex] received everything.

2020-11-01 21:29:48 | [Mutex] isItemNotified: user_regular21qspn0202@test-domain.com:message:received:content_1np72q0206 :: true

2020-11-01 21:29:48 |


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


2020-11-01 21:29:48 | [Mutex] received everything.

2020-11-01 21:29:48 | [Mutex] isItemNotified: node_l2tyg40203:subscribe_node:success :: true

2020-11-01 21:29:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-11-01 21:29:48 | command: <data><node>node_l2tyg40203</node><expire-at>2020-11-02T05:29:53Z</expire-at><entry><content>content_tl9xwf0207</content></entry></data>

2020-11-01 21:29:48 | target: http://localhost:8088

2020-11-01 21:29:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-11-01 21:29:48 | entity: <data><node>node_l2tyg40203</node><expire-at>2020-11-02T05:29:53Z</expire-at><entry><content>content_tl9xwf0207</content></entry></data>

2020-11-01 21:29:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 02 Nov 2020 05:29:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-11-01 21:29:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>adc24e47-5d3a-401f-9ee0-ed2abb0132d4</value></item-id></result>

2020-11-01 21:29:48 | contains: true

2020-11-01 21:29:56 | [Mutex] waiting for: [user_regular21qspn0202@test-domain.com:message:received:content_tl9xwf0207]

2020-11-01 21:30:11 | [Mutex] timeout. Not received [user_regular21qspn0202@test-domain.com:message:received:content_tl9xwf0207]

2020-11-01 21:30:11 | [Mutex] received everything.

2020-11-01 21:30:11 | [Mutex] isItemNotified: user_regular21qspn0202@test-domain.com:message:received:content_tl9xwf0207 :: false

2020-11-01 21:30:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tl9xwf0207 :: true