Test duration : 45.487s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.672s |
2021-10-03 22:48:40 |
2021-10-03 22:48:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-03 22:48:40 | ------------------------------------ 2021-10-03 22:48:40 | [Mutex] isItemNotified: node_vrpdhr0203:exists :: false 2021-10-03 22:48:40 | [Mutex] waiting for: [node_vrpdhr0203:create_node] 2021-10-03 22:48:40 | [Mutex] received everything. 2021-10-03 22:48:40 | [Mutex] isItemNotified: node_vrpdhr0203:create_node:success :: true 2021-10-03 22:48:40 | [Mutex] waiting for: [node_vrpdhr0203:subscribe_node] 2021-10-03 22:48:40 | [Mutex] waiting for: [node_vrpdhr0203:subscribe_node] 2021-10-03 22:48:40 | [Mutex] received everything. 2021-10-03 22:48:40 | [Mutex] isItemNotified: node_vrpdhr0203:subscribe_node:success :: true 2021-10-03 22:48:40 | ===== publishing normal message (to online) 2021-10-03 22:48:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-03 22:48:40 | command: <data><node>node_vrpdhr0203</node><entry><content>content_lpz0b80204</content></entry></data> 2021-10-03 22:48:40 | target: http://localhost:8088 2021-10-03 22:48:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-03 22:48:40 | entity: <data><node>node_vrpdhr0203</node><entry><content>content_lpz0b80204</content></entry></data> 2021-10-03 22:48:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:48:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-03 22:48:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>05769a28-bdec-421e-90c1-69cd1c340eb2</value></item-id></result> 2021-10-03 22:48:40 | contains: true 2021-10-03 22:48:40 | [Mutex] waiting for: [user_regularfcwvkt0202@test-domain.com:message:received:content_lpz0b80204] 2021-10-03 22:48:40 | [Mutex] received everything. 2021-10-03 22:48:40 | [Mutex] isItemNotified: user_regularfcwvkt0202@test-domain.com:message:received:content_lpz0b80204 :: true 2021-10-03 22:48:40 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-03 22:48:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-03 22:48:40 | command: <data><node>node_vrpdhr0203</node><expire-at>2021-10-04T05:48:35Z</expire-at><entry><content>content_eu3l180205</content></entry></data> 2021-10-03 22:48:40 | target: http://localhost:8088 2021-10-03 22:48:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-03 22:48:40 | entity: <data><node>node_vrpdhr0203</node><expire-at>2021-10-04T05:48:35Z</expire-at><entry><content>content_eu3l180205</content></entry></data> 2021-10-03 22:48:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:48:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-03 22:48:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7bda8177-7806-4ffe-980a-2369f7b3bcf2</value></item-id></result> 2021-10-03 22:48:40 | contains: true 2021-10-03 22:48:40 | [Mutex] waiting for: [user_regularfcwvkt0202@test-domain.com:message:received:content_eu3l180205] 2021-10-03 22:48:55 | [Mutex] timeout. Not received [user_regularfcwvkt0202@test-domain.com:message:received:content_eu3l180205] 2021-10-03 22:48:55 | [Mutex] isItemNotified: user_regularfcwvkt0202@test-domain.com:message:received:content_eu3l180205 :: false 2021-10-03 22:48:55 | ===== publishing normal message (to offline) 2021-10-03 22:48:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-03 22:48:55 | command: <data><node>node_vrpdhr0203</node><entry><content>content_dzn54r0206</content></entry></data> 2021-10-03 22:48:55 | target: http://localhost:8088 2021-10-03 22:48:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-03 22:48:55 | entity: <data><node>node_vrpdhr0203</node><entry><content>content_dzn54r0206</content></entry></data> 2021-10-03 22:48:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:48:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-03 22:48:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c272bd19-72e5-44df-9645-0203db7577d8</value></item-id></result> 2021-10-03 22:48:55 | contains: true 2021-10-03 22:49:00 | [Mutex] waiting for: [user_regularfcwvkt0202@test-domain.com:message:received:content_dzn54r0206] 2021-10-03 22:49:00 | [Mutex] received everything. 2021-10-03 22:49:00 | [Mutex] isItemNotified: user_regularfcwvkt0202@test-domain.com:message:received:content_dzn54r0206 :: true 2021-10-03 22:49:00 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-03 22:49:00 | [Mutex] received everything. 2021-10-03 22:49:00 | [Mutex] isItemNotified: node_vrpdhr0203:subscribe_node:success :: true 2021-10-03 22:49:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-03 22:49:00 | command: <data><node>node_vrpdhr0203</node><expire-at>2021-10-04T05:49:05Z</expire-at><entry><content>content_wd8fs00207</content></entry></data> 2021-10-03 22:49:00 | target: http://localhost:8088 2021-10-03 22:49:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-03 22:49:00 | entity: <data><node>node_vrpdhr0203</node><expire-at>2021-10-04T05:49:05Z</expire-at><entry><content>content_wd8fs00207</content></entry></data> 2021-10-03 22:49:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:49:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-03 22:49:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>670c452a-d45d-4a78-8b38-3ab8ccc08611</value></item-id></result> 2021-10-03 22:49:00 | contains: true 2021-10-03 22:49:08 | [Mutex] waiting for: [user_regularfcwvkt0202@test-domain.com:message:received:content_wd8fs00207] 2021-10-03 22:49:23 | [Mutex] timeout. Not received [user_regularfcwvkt0202@test-domain.com:message:received:content_wd8fs00207] 2021-10-03 22:49:23 | [Mutex] received everything. 2021-10-03 22:49:23 | [Mutex] isItemNotified: user_regularfcwvkt0202@test-domain.com:message:received:content_wd8fs00207 :: false 2021-10-03 22:49:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wd8fs00207 :: true |