Test duration : 45.680s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.752s |
2021-04-07 11:52:04 |
2021-04-07 11:52:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-07 11:52:04 | ------------------------------------ 2021-04-07 11:52:04 | [Mutex] isItemNotified: node_3gfulp0203:exists :: false 2021-04-07 11:52:04 | [Mutex] waiting for: [node_3gfulp0203:create_node] 2021-04-07 11:52:04 | [Mutex] received everything. 2021-04-07 11:52:04 | [Mutex] isItemNotified: node_3gfulp0203:create_node:success :: true 2021-04-07 11:52:04 | [Mutex] waiting for: [node_3gfulp0203:subscribe_node] 2021-04-07 11:52:04 | [Mutex] waiting for: [node_3gfulp0203:subscribe_node] 2021-04-07 11:52:04 | [Mutex] received everything. 2021-04-07 11:52:04 | [Mutex] isItemNotified: node_3gfulp0203:subscribe_node:success :: true 2021-04-07 11:52:04 | ===== publishing normal message (to online) 2021-04-07 11:52:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-07 11:52:04 | command: <data><node>node_3gfulp0203</node><entry><content>content_dhgug00204</content></entry></data> 2021-04-07 11:52:04 | target: http://localhost:8088 2021-04-07 11:52:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-07 11:52:04 | entity: <data><node>node_3gfulp0203</node><entry><content>content_dhgug00204</content></entry></data> 2021-04-07 11:52:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 18:52:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-07 11:52:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>859ec947-b395-4cff-9ed3-ceb485806c94</value></item-id></result> 2021-04-07 11:52:05 | contains: true 2021-04-07 11:52:05 | [Mutex] received everything. 2021-04-07 11:52:05 | [Mutex] isItemNotified: user_regularfelslv0202@test-domain.com:message:received:content_dhgug00204 :: true 2021-04-07 11:52:05 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-07 11:52:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-07 11:52:05 | command: <data><node>node_3gfulp0203</node><expire-at>2021-04-07T18:52:00Z</expire-at><entry><content>content_boxtrs0205</content></entry></data> 2021-04-07 11:52:05 | target: http://localhost:8088 2021-04-07 11:52:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-07 11:52:05 | entity: <data><node>node_3gfulp0203</node><expire-at>2021-04-07T18:52:00Z</expire-at><entry><content>content_boxtrs0205</content></entry></data> 2021-04-07 11:52:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 18:52:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-07 11:52:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>090ab13c-0ef0-4f73-8ae8-eff47d000ca7</value></item-id></result> 2021-04-07 11:52:05 | contains: true 2021-04-07 11:52:05 | [Mutex] waiting for: [user_regularfelslv0202@test-domain.com:message:received:content_boxtrs0205] 2021-04-07 11:52:20 | [Mutex] timeout. Not received [user_regularfelslv0202@test-domain.com:message:received:content_boxtrs0205] 2021-04-07 11:52:20 | [Mutex] isItemNotified: user_regularfelslv0202@test-domain.com:message:received:content_boxtrs0205 :: false 2021-04-07 11:52:20 | ===== publishing normal message (to offline) 2021-04-07 11:52:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-07 11:52:20 | command: <data><node>node_3gfulp0203</node><entry><content>content_mniw000206</content></entry></data> 2021-04-07 11:52:20 | target: http://localhost:8088 2021-04-07 11:52:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-07 11:52:20 | entity: <data><node>node_3gfulp0203</node><entry><content>content_mniw000206</content></entry></data> 2021-04-07 11:52:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 18:52:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-07 11:52:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>942972de-63f6-4701-bc50-fa4dad764fc3</value></item-id></result> 2021-04-07 11:52:20 | contains: true 2021-04-07 11:52:25 | [Mutex] waiting for: [user_regularfelslv0202@test-domain.com:message:received:content_mniw000206] 2021-04-07 11:52:25 | [Mutex] waiting for: [user_regularfelslv0202@test-domain.com:message:received:content_mniw000206] 2021-04-07 11:52:25 | [Mutex] received everything. 2021-04-07 11:52:25 | [Mutex] isItemNotified: user_regularfelslv0202@test-domain.com:message:received:content_mniw000206 :: true 2021-04-07 11:52:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-07 11:52:25 | [Mutex] received everything. 2021-04-07 11:52:25 | [Mutex] isItemNotified: node_3gfulp0203:subscribe_node:success :: true 2021-04-07 11:52:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-07 11:52:25 | command: <data><node>node_3gfulp0203</node><expire-at>2021-04-07T18:52:30Z</expire-at><entry><content>content_utss3q0207</content></entry></data> 2021-04-07 11:52:25 | target: http://localhost:8088 2021-04-07 11:52:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-07 11:52:25 | entity: <data><node>node_3gfulp0203</node><expire-at>2021-04-07T18:52:30Z</expire-at><entry><content>content_utss3q0207</content></entry></data> 2021-04-07 11:52:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Apr 2021 18:52:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-07 11:52:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b05bdad9-0872-4c37-acb2-1f0e83ae6722</value></item-id></result> 2021-04-07 11:52:25 | contains: true 2021-04-07 11:52:33 | [Mutex] waiting for: [user_regularfelslv0202@test-domain.com:message:received:content_utss3q0207] 2021-04-07 11:52:48 | [Mutex] timeout. Not received [user_regularfelslv0202@test-domain.com:message:received:content_utss3q0207] 2021-04-07 11:52:48 | [Mutex] received everything. 2021-04-07 11:52:48 | [Mutex] isItemNotified: user_regularfelslv0202@test-domain.com:message:received:content_utss3q0207 :: false 2021-04-07 11:52:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_utss3q0207 :: true |