Generated by TestNG with ReportNG at 21:51 PST on Monday 18 January 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.656s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.921s
2021-01-18 22:09:40 |

2021-01-18 22:09:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-18 22:09:40 | ------------------------------------

2021-01-18 22:09:40 | [Mutex] isItemNotified: node_y9mtj80203:exists :: false

2021-01-18 22:09:40 | [Mutex] waiting for: [node_y9mtj80203:create_node]

2021-01-18 22:09:40 | [Mutex] received everything.

2021-01-18 22:09:40 | [Mutex] isItemNotified: node_y9mtj80203:create_node:success :: true

2021-01-18 22:09:40 | [Mutex] waiting for: [node_y9mtj80203:subscribe_node]

2021-01-18 22:09:40 | [Mutex] waiting for: [node_y9mtj80203:subscribe_node]

2021-01-18 22:09:40 | [Mutex] received everything.

2021-01-18 22:09:40 | [Mutex] isItemNotified: node_y9mtj80203:subscribe_node:success :: true

2021-01-18 22:09:40 |


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


2021-01-18 22:09:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 22:09:40 | command: <data><node>node_y9mtj80203</node><entry><content>content_iyc8gj0204</content></entry></data>

2021-01-18 22:09:40 | target: http://localhost:8088

2021-01-18 22:09:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-18 22:09:40 | entity: <data><node>node_y9mtj80203</node><entry><content>content_iyc8gj0204</content></entry></data>

2021-01-18 22:09:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 06:09:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 22:09:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c47ad0b4-e479-4f3d-a856-497e11474967</value></item-id></result>

2021-01-18 22:09:40 | contains: true

2021-01-18 22:09:40 | [Mutex] received everything.

2021-01-18 22:09:40 | [Mutex] isItemNotified: user_regularlvxel30202@test-domain.com:message:received:content_iyc8gj0204 :: true

2021-01-18 22:09:40 |


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


2021-01-18 22:09:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 22:09:40 | command: <data><node>node_y9mtj80203</node><expire-at>2021-01-19T06:09:35Z</expire-at><entry><content>content_8yzqa60205</content></entry></data>

2021-01-18 22:09:40 | target: http://localhost:8088

2021-01-18 22:09:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-18 22:09:40 | entity: <data><node>node_y9mtj80203</node><expire-at>2021-01-19T06:09:35Z</expire-at><entry><content>content_8yzqa60205</content></entry></data>

2021-01-18 22:09:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 06:09:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 22:09:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9793c4d4-9ca0-4b98-95bb-bd5e24e4e862</value></item-id></result>

2021-01-18 22:09:40 | contains: true

2021-01-18 22:09:40 | [Mutex] waiting for: [user_regularlvxel30202@test-domain.com:message:received:content_8yzqa60205]

2021-01-18 22:09:55 | [Mutex] timeout. Not received [user_regularlvxel30202@test-domain.com:message:received:content_8yzqa60205]

2021-01-18 22:09:55 | [Mutex] isItemNotified: user_regularlvxel30202@test-domain.com:message:received:content_8yzqa60205 :: false

2021-01-18 22:09:55 |


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


2021-01-18 22:09:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 22:09:55 | command: <data><node>node_y9mtj80203</node><entry><content>content_ngeptz0206</content></entry></data>

2021-01-18 22:09:55 | target: http://localhost:8088

2021-01-18 22:09:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-18 22:09:55 | entity: <data><node>node_y9mtj80203</node><entry><content>content_ngeptz0206</content></entry></data>

2021-01-18 22:09:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 06:09:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 22:09:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>80a3e369-06ab-409f-a35a-465980c3214e</value></item-id></result>

2021-01-18 22:09:55 | contains: true

2021-01-18 22:10:00 | [Mutex] waiting for: [user_regularlvxel30202@test-domain.com:message:received:content_ngeptz0206]

2021-01-18 22:10:01 | [Mutex] received everything.

2021-01-18 22:10:01 | [Mutex] isItemNotified: user_regularlvxel30202@test-domain.com:message:received:content_ngeptz0206 :: true

2021-01-18 22:10:01 |


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


2021-01-18 22:10:01 | [Mutex] received everything.

2021-01-18 22:10:01 | [Mutex] isItemNotified: node_y9mtj80203:subscribe_node:success :: true

2021-01-18 22:10:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-18 22:10:01 | command: <data><node>node_y9mtj80203</node><expire-at>2021-01-19T06:10:06Z</expire-at><entry><content>content_kc250w0207</content></entry></data>

2021-01-18 22:10:01 | target: http://localhost:8088

2021-01-18 22:10:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-18 22:10:01 | entity: <data><node>node_y9mtj80203</node><expire-at>2021-01-19T06:10:06Z</expire-at><entry><content>content_kc250w0207</content></entry></data>

2021-01-18 22:10:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 06:10:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-18 22:10:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>53f61ad0-12e2-44d5-bbbb-2689e1e1c6b4</value></item-id></result>

2021-01-18 22:10:01 | contains: true

2021-01-18 22:10:09 | [Mutex] waiting for: [user_regularlvxel30202@test-domain.com:message:received:content_kc250w0207]

2021-01-18 22:10:09 | [Mutex] waiting for: [user_regularlvxel30202@test-domain.com:message:received:content_kc250w0207]

2021-01-18 22:10:24 | [Mutex] timeout. Not received [user_regularlvxel30202@test-domain.com:message:received:content_kc250w0207]

2021-01-18 22:10:24 | [Mutex] received everything.

2021-01-18 22:10:24 | [Mutex] isItemNotified: user_regularlvxel30202@test-domain.com:message:received:content_kc250w0207 :: false

2021-01-18 22:10:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kc250w0207 :: true