Test duration : 44.696s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.524s |
2022-08-25 23:07:20 |
2022-08-25 23:07:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-25 23:07:20 | ------------------------------------ 2022-08-25 23:07:20 | [Mutex] isItemNotified: node_6suu2f0204:exists :: false 2022-08-25 23:07:20 | [Mutex] waiting for: [node_6suu2f0204:create_node] 2022-08-25 23:07:20 | [Mutex] waiting for: [node_6suu2f0204:create_node] 2022-08-25 23:07:20 | [Mutex] received everything. 2022-08-25 23:07:20 | [Mutex] isItemNotified: node_6suu2f0204:create_node:success :: true 2022-08-25 23:07:20 | [Mutex] waiting for: [node_6suu2f0204:subscribe_node] 2022-08-25 23:07:20 | [Mutex] waiting for: [node_6suu2f0204:subscribe_node] 2022-08-25 23:07:20 | [Mutex] received everything. 2022-08-25 23:07:20 | [Mutex] isItemNotified: node_6suu2f0204:subscribe_node:success :: true 2022-08-25 23:07:20 | ===== publishing normal message (to online) 2022-08-25 23:07:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-25 23:07:20 | command: <data><node>node_6suu2f0204</node><entry><content>content_9gdt4p0205</content></entry></data> 2022-08-25 23:07:20 | target: http://localhost:8088 2022-08-25 23:07:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-25 23:07:20 | entity: <data><node>node_6suu2f0204</node><entry><content>content_9gdt4p0205</content></entry></data> 2022-08-25 23:07:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 06:07:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-25 23:07:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>38807371-c665-4e15-b6a0-1f17309b65c9</value></item-id></result> 2022-08-25 23:07:20 | contains: true 2022-08-25 23:07:20 | [Mutex] waiting for: [user_regulardnw2fe0203@test-domain.com:message:received:content_9gdt4p0205] 2022-08-25 23:07:20 | [Mutex] received everything. 2022-08-25 23:07:20 | [Mutex] isItemNotified: user_regulardnw2fe0203@test-domain.com:message:received:content_9gdt4p0205 :: true 2022-08-25 23:07:20 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-25 23:07:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-25 23:07:20 | command: <data><node>node_6suu2f0204</node><expire-at>2022-08-26T06:07:15Z</expire-at><entry><content>content_8gby610206</content></entry></data> 2022-08-25 23:07:20 | target: http://localhost:8088 2022-08-25 23:07:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-25 23:07:20 | entity: <data><node>node_6suu2f0204</node><expire-at>2022-08-26T06:07:15Z</expire-at><entry><content>content_8gby610206</content></entry></data> 2022-08-25 23:07:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 06:07:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-25 23:07:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f692b27d-b1af-410e-b25c-495ef542fcc6</value></item-id></result> 2022-08-25 23:07:20 | contains: true 2022-08-25 23:07:20 | [Mutex] waiting for: [user_regulardnw2fe0203@test-domain.com:message:received:content_8gby610206] 2022-08-25 23:07:35 | [Mutex] timeout. Not received [user_regulardnw2fe0203@test-domain.com:message:received:content_8gby610206] 2022-08-25 23:07:35 | [Mutex] isItemNotified: user_regulardnw2fe0203@test-domain.com:message:received:content_8gby610206 :: false 2022-08-25 23:07:35 | ===== publishing normal message (to offline) 2022-08-25 23:07:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-25 23:07:35 | command: <data><node>node_6suu2f0204</node><entry><content>content_huxe7t0207</content></entry></data> 2022-08-25 23:07:35 | target: http://localhost:8088 2022-08-25 23:07:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-25 23:07:35 | entity: <data><node>node_6suu2f0204</node><entry><content>content_huxe7t0207</content></entry></data> 2022-08-25 23:07:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 06:07:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-25 23:07:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7e0cd52b-6538-4219-a09d-82898ae29056</value></item-id></result> 2022-08-25 23:07:35 | contains: true 2022-08-25 23:07:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-25 23:07:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-25 23:07:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-25 23:07:40 | [Mutex] waiting for: [user_regulardnw2fe0203@test-domain.com:message:received:content_huxe7t0207] 2022-08-25 23:07:40 | [Mutex] received everything. 2022-08-25 23:07:40 | [Mutex] isItemNotified: user_regulardnw2fe0203@test-domain.com:message:received:content_huxe7t0207 :: true 2022-08-25 23:07:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-25 23:07:40 | [Mutex] received everything. 2022-08-25 23:07:40 | [Mutex] isItemNotified: node_6suu2f0204:subscribe_node:success :: true 2022-08-25 23:07:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-25 23:07:41 | command: <data><node>node_6suu2f0204</node><expire-at>2022-08-26T06:07:46Z</expire-at><entry><content>content_z50ze70208</content></entry></data> 2022-08-25 23:07:41 | target: http://localhost:8088 2022-08-25 23:07:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-25 23:07:41 | entity: <data><node>node_6suu2f0204</node><expire-at>2022-08-26T06:07:46Z</expire-at><entry><content>content_z50ze70208</content></entry></data> 2022-08-25 23:07:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 06:07:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-25 23:07:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b6e1de09-ef3a-4204-ba3b-b69074f7b90b</value></item-id></result> 2022-08-25 23:07:41 | contains: true 2022-08-25 23:07:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-25 23:07:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-25 23:07:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-25 23:07:49 | [Mutex] waiting for: [user_regulardnw2fe0203@test-domain.com:message:received:content_z50ze70208] 2022-08-25 23:08:04 | [Mutex] timeout. Not received [user_regulardnw2fe0203@test-domain.com:message:received:content_z50ze70208] 2022-08-25 23:08:04 | [Mutex] received everything. 2022-08-25 23:08:04 | [Mutex] isItemNotified: user_regulardnw2fe0203@test-domain.com:message:received:content_z50ze70208 :: false 2022-08-25 23:08:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z50ze70208 :: true |