Test duration : 44.769s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.656s |
2023-06-20 22:31:01 |
2023-06-20 22:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-06-20 22:31:01 | ------------------------------------ 2023-06-20 22:31:01 | [Mutex] isItemNotified: node_i2bku70208:exists :: false 2023-06-20 22:31:01 | [Mutex] waiting for: [node_i2bku70208:create_node] 2023-06-20 22:31:01 | [Mutex] received everything. 2023-06-20 22:31:01 | [Mutex] isItemNotified: node_i2bku70208:create_node:success :: true 2023-06-20 22:31:01 | [Mutex] waiting for: [node_i2bku70208:subscribe_node] 2023-06-20 22:31:01 | [Mutex] waiting for: [node_i2bku70208:subscribe_node] 2023-06-20 22:31:01 | [Mutex] received everything. 2023-06-20 22:31:01 | [Mutex] isItemNotified: node_i2bku70208:subscribe_node:success :: true 2023-06-20 22:31:01 | ===== publishing normal message (to online) 2023-06-20 22:31:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 22:31:01 | command: <data><node>node_i2bku70208</node><entry><content>content_i6ij780209</content></entry></data> 2023-06-20 22:31:01 | target: http://localhost:8088 2023-06-20 22:31:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-20 22:31:01 | entity: <data><node>node_i2bku70208</node><entry><content>content_i6ij780209</content></entry></data> 2023-06-20 22:31:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:31:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 22:31:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8a96a82c-8871-4e56-b3e9-95a0e2eb78a6</value></item-id></result> 2023-06-20 22:31:01 | contains: true 2023-06-20 22:31:01 | [Mutex] received everything. 2023-06-20 22:31:01 | [Mutex] isItemNotified: user_regularc3wnf90207@test-domain.com:message:received:content_i6ij780209 :: true 2023-06-20 22:31:01 | ===== publishing already old message - expecting message being filtered out (to online) 2023-06-20 22:31:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 22:31:01 | command: <data><node>node_i2bku70208</node><expire-at>2023-06-21T05:30:56Z</expire-at><entry><content>content_ap5qa80210</content></entry></data> 2023-06-20 22:31:01 | target: http://localhost:8088 2023-06-20 22:31:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-20 22:31:01 | entity: <data><node>node_i2bku70208</node><expire-at>2023-06-21T05:30:56Z</expire-at><entry><content>content_ap5qa80210</content></entry></data> 2023-06-20 22:31:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:31:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 22:31:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dc917b09-c611-4b38-bb51-3320685c9706</value></item-id></result> 2023-06-20 22:31:01 | contains: true 2023-06-20 22:31:01 | [Mutex] waiting for: [user_regularc3wnf90207@test-domain.com:message:received:content_ap5qa80210] 2023-06-20 22:31:16 | [Mutex] timeout. Not received [user_regularc3wnf90207@test-domain.com:message:received:content_ap5qa80210] 2023-06-20 22:31:16 | [Mutex] isItemNotified: user_regularc3wnf90207@test-domain.com:message:received:content_ap5qa80210 :: false 2023-06-20 22:31:16 | ===== publishing normal message (to offline) 2023-06-20 22:31:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 22:31:17 | command: <data><node>node_i2bku70208</node><entry><content>content_j6w1eo0211</content></entry></data> 2023-06-20 22:31:17 | target: http://localhost:8088 2023-06-20 22:31:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-20 22:31:17 | entity: <data><node>node_i2bku70208</node><entry><content>content_j6w1eo0211</content></entry></data> 2023-06-20 22:31:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:31:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 22:31:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61de46fa-e227-4e4b-8462-a6c480d8867f</value></item-id></result> 2023-06-20 22:31:17 | contains: true 2023-06-20 22:31:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-20 22:31:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-06-20 22:31:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-20 22:31:22 | [Mutex] waiting for: [user_regularc3wnf90207@test-domain.com:message:received:content_j6w1eo0211] 2023-06-20 22:31:22 | [Mutex] waiting for: [user_regularc3wnf90207@test-domain.com:message:received:content_j6w1eo0211] 2023-06-20 22:31:22 | [Mutex] received everything. 2023-06-20 22:31:22 | [Mutex] isItemNotified: user_regularc3wnf90207@test-domain.com:message:received:content_j6w1eo0211 :: true 2023-06-20 22:31:22 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-06-20 22:31:22 | [Mutex] received everything. 2023-06-20 22:31:22 | [Mutex] isItemNotified: node_i2bku70208:subscribe_node:success :: true 2023-06-20 22:31:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-20 22:31:22 | command: <data><node>node_i2bku70208</node><expire-at>2023-06-21T05:31:27Z</expire-at><entry><content>content_6panmp0212</content></entry></data> 2023-06-20 22:31:22 | target: http://localhost:8088 2023-06-20 22:31:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-20 22:31:22 | entity: <data><node>node_i2bku70208</node><expire-at>2023-06-21T05:31:27Z</expire-at><entry><content>content_6panmp0212</content></entry></data> 2023-06-20 22:31:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 21 Jun 2023 05:31:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-20 22:31:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c608a187-eefd-4a8c-846b-62883a4cea09</value></item-id></result> 2023-06-20 22:31:22 | contains: true 2023-06-20 22:31:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-20 22:31:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-06-20 22:31:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-20 22:31:30 | [Mutex] waiting for: [user_regularc3wnf90207@test-domain.com:message:received:content_6panmp0212] 2023-06-20 22:31:30 | [Mutex] waiting for: [user_regularc3wnf90207@test-domain.com:message:received:content_6panmp0212] 2023-06-20 22:31:45 | [Mutex] timeout. Not received [user_regularc3wnf90207@test-domain.com:message:received:content_6panmp0212] 2023-06-20 22:31:45 | [Mutex] received everything. 2023-06-20 22:31:45 | [Mutex] isItemNotified: user_regularc3wnf90207@test-domain.com:message:received:content_6panmp0212 :: false 2023-06-20 22:31:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6panmp0212 :: true |