Generated by TestNG with ReportNG at 22:46 PDT on Sunday 14 March 2021
root@43fec6d4badf / 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.389s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.684s
2021-03-14 23:02:23 |

2021-03-14 23:02:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-14 23:02:23 | ------------------------------------

2021-03-14 23:02:23 | [Mutex] isItemNotified: node_kf6lru0203:exists :: false

2021-03-14 23:02:23 | [Mutex] waiting for: [node_kf6lru0203:create_node]

2021-03-14 23:02:23 | [Mutex] received everything.

2021-03-14 23:02:23 | [Mutex] isItemNotified: node_kf6lru0203:create_node:success :: true

2021-03-14 23:02:23 | [Mutex] waiting for: [node_kf6lru0203:subscribe_node]

2021-03-14 23:02:23 | [Mutex] waiting for: [node_kf6lru0203:subscribe_node]

2021-03-14 23:02:23 | [Mutex] received everything.

2021-03-14 23:02:23 | [Mutex] isItemNotified: node_kf6lru0203:subscribe_node:success :: true

2021-03-14 23:02:23 |


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


2021-03-14 23:02:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 23:02:23 | command: <data><node>node_kf6lru0203</node><entry><content>content_1vla720204</content></entry></data>

2021-03-14 23:02:23 | target: http://localhost:8088

2021-03-14 23:02:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-14 23:02:23 | entity: <data><node>node_kf6lru0203</node><entry><content>content_1vla720204</content></entry></data>

2021-03-14 23:02:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 06:02:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 23:02:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>75b6b118-c5f8-4195-aefb-6fcbca0ed316</value></item-id></result>

2021-03-14 23:02:23 | contains: true

2021-03-14 23:02:23 | [Mutex] waiting for: [user_regular3jzpil0202@test-domain.com:message:received:content_1vla720204]

2021-03-14 23:02:23 | [Mutex] received everything.

2021-03-14 23:02:23 | [Mutex] isItemNotified: user_regular3jzpil0202@test-domain.com:message:received:content_1vla720204 :: true

2021-03-14 23:02:23 |


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


2021-03-14 23:02:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 23:02:23 | command: <data><node>node_kf6lru0203</node><expire-at>2021-03-15T06:02:18Z</expire-at><entry><content>content_i3ip4l0205</content></entry></data>

2021-03-14 23:02:23 | target: http://localhost:8088

2021-03-14 23:02:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-14 23:02:23 | entity: <data><node>node_kf6lru0203</node><expire-at>2021-03-15T06:02:18Z</expire-at><entry><content>content_i3ip4l0205</content></entry></data>

2021-03-14 23:02:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 06:02:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 23:02:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>da998553-1b44-423c-a654-7ca049038d16</value></item-id></result>

2021-03-14 23:02:23 | contains: true

2021-03-14 23:02:23 | [Mutex] waiting for: [user_regular3jzpil0202@test-domain.com:message:received:content_i3ip4l0205]

2021-03-14 23:02:38 | [Mutex] timeout. Not received [user_regular3jzpil0202@test-domain.com:message:received:content_i3ip4l0205]

2021-03-14 23:02:38 | [Mutex] isItemNotified: user_regular3jzpil0202@test-domain.com:message:received:content_i3ip4l0205 :: false

2021-03-14 23:02:38 |


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


2021-03-14 23:02:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 23:02:38 | command: <data><node>node_kf6lru0203</node><entry><content>content_wpi210206</content></entry></data>

2021-03-14 23:02:38 | target: http://localhost:8088

2021-03-14 23:02:38 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-03-14 23:02:38 | entity: <data><node>node_kf6lru0203</node><entry><content>content_wpi210206</content></entry></data>

2021-03-14 23:02:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 06:02:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 23:02:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c4e45d4-027a-463f-a168-ba2a69aa5a09</value></item-id></result>

2021-03-14 23:02:38 | contains: true

2021-03-14 23:02:43 | [Mutex] waiting for: [user_regular3jzpil0202@test-domain.com:message:received:content_wpi210206]

2021-03-14 23:02:43 | [Mutex] waiting for: [user_regular3jzpil0202@test-domain.com:message:received:content_wpi210206]

2021-03-14 23:02:43 | [Mutex] received everything.

2021-03-14 23:02:43 | [Mutex] isItemNotified: user_regular3jzpil0202@test-domain.com:message:received:content_wpi210206 :: true

2021-03-14 23:02:43 |


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


2021-03-14 23:02:43 | [Mutex] received everything.

2021-03-14 23:02:43 | [Mutex] isItemNotified: node_kf6lru0203:subscribe_node:success :: true

2021-03-14 23:02:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-14 23:02:43 | command: <data><node>node_kf6lru0203</node><expire-at>2021-03-15T06:02:48Z</expire-at><entry><content>content_f0e6ab0207</content></entry></data>

2021-03-14 23:02:43 | target: http://localhost:8088

2021-03-14 23:02:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-14 23:02:43 | entity: <data><node>node_kf6lru0203</node><expire-at>2021-03-15T06:02:48Z</expire-at><entry><content>content_f0e6ab0207</content></entry></data>

2021-03-14 23:02:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Mar 2021 06:02:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-14 23:02:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ff66582d-743f-4e03-8876-b10b3737f16f</value></item-id></result>

2021-03-14 23:02:43 | contains: true

2021-03-14 23:02:51 | [Mutex] waiting for: [user_regular3jzpil0202@test-domain.com:message:received:content_f0e6ab0207]

2021-03-14 23:03:06 | [Mutex] timeout. Not received [user_regular3jzpil0202@test-domain.com:message:received:content_f0e6ab0207]

2021-03-14 23:03:06 | [Mutex] received everything.

2021-03-14 23:03:06 | [Mutex] isItemNotified: user_regular3jzpil0202@test-domain.com:message:received:content_f0e6ab0207 :: false

2021-03-14 23:03:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_f0e6ab0207 :: true