Test duration : 44.642s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.589s |
2023-07-06 22:30:47 |
2023-07-06 22:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-06 22:30:47 | ------------------------------------ 2023-07-06 22:30:47 | [Mutex] isItemNotified: node_pc9yei0208:exists :: false 2023-07-06 22:30:47 | [Mutex] waiting for: [node_pc9yei0208:create_node] 2023-07-06 22:30:47 | [Mutex] waiting for: [node_pc9yei0208:create_node] 2023-07-06 22:30:47 | [Mutex] received everything. 2023-07-06 22:30:47 | [Mutex] isItemNotified: node_pc9yei0208:create_node:success :: true 2023-07-06 22:30:47 | [Mutex] waiting for: [node_pc9yei0208:subscribe_node] 2023-07-06 22:30:47 | [Mutex] waiting for: [node_pc9yei0208:subscribe_node] 2023-07-06 22:30:47 | [Mutex] received everything. 2023-07-06 22:30:47 | [Mutex] isItemNotified: node_pc9yei0208:subscribe_node:success :: true 2023-07-06 22:30:47 | ===== publishing normal message (to online) 2023-07-06 22:30:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 22:30:47 | command: <data><node>node_pc9yei0208</node><entry><content>content_9j3shh0209</content></entry></data> 2023-07-06 22:30:47 | target: http://localhost:8088 2023-07-06 22:30:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-06 22:30:47 | entity: <data><node>node_pc9yei0208</node><entry><content>content_9j3shh0209</content></entry></data> 2023-07-06 22:30:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 05:30:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 22:30:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa9d5ef1-b91d-4b0f-8a69-3663e462e830</value></item-id></result> 2023-07-06 22:30:47 | contains: true 2023-07-06 22:30:47 | [Mutex] waiting for: [user_regularjgggkk0207@test-domain.com:message:received:content_9j3shh0209] 2023-07-06 22:30:47 | [Mutex] received everything. 2023-07-06 22:30:47 | [Mutex] isItemNotified: user_regularjgggkk0207@test-domain.com:message:received:content_9j3shh0209 :: true 2023-07-06 22:30:47 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-06 22:30:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 22:30:47 | command: <data><node>node_pc9yei0208</node><expire-at>2023-07-07T05:30:42Z</expire-at><entry><content>content_3sgkf60210</content></entry></data> 2023-07-06 22:30:47 | target: http://localhost:8088 2023-07-06 22:30:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-06 22:30:47 | entity: <data><node>node_pc9yei0208</node><expire-at>2023-07-07T05:30:42Z</expire-at><entry><content>content_3sgkf60210</content></entry></data> 2023-07-06 22:30:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 05:30:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 22:30:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>96c41f73-d629-43b0-9f23-ed3a8ae55f99</value></item-id></result> 2023-07-06 22:30:47 | contains: true 2023-07-06 22:30:47 | [Mutex] waiting for: [user_regularjgggkk0207@test-domain.com:message:received:content_3sgkf60210] 2023-07-06 22:31:02 | [Mutex] timeout. Not received [user_regularjgggkk0207@test-domain.com:message:received:content_3sgkf60210] 2023-07-06 22:31:02 | [Mutex] isItemNotified: user_regularjgggkk0207@test-domain.com:message:received:content_3sgkf60210 :: false 2023-07-06 22:31:02 | ===== publishing normal message (to offline) 2023-07-06 22:31:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 22:31:02 | command: <data><node>node_pc9yei0208</node><entry><content>content_huio2d0211</content></entry></data> 2023-07-06 22:31:02 | target: http://localhost:8088 2023-07-06 22:31:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-06 22:31:02 | entity: <data><node>node_pc9yei0208</node><entry><content>content_huio2d0211</content></entry></data> 2023-07-06 22:31:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 05:31:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 22:31:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>94b06860-4fc6-4bdf-bd43-f9c89e75b4ec</value></item-id></result> 2023-07-06 22:31:02 | contains: true 2023-07-06 22:31:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-06 22:31:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-06 22:31:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-06 22:31:08 | [Mutex] waiting for: [user_regularjgggkk0207@test-domain.com:message:received:content_huio2d0211] 2023-07-06 22:31:08 | [Mutex] waiting for: [user_regularjgggkk0207@test-domain.com:message:received:content_huio2d0211] 2023-07-06 22:31:08 | [Mutex] received everything. 2023-07-06 22:31:08 | [Mutex] isItemNotified: user_regularjgggkk0207@test-domain.com:message:received:content_huio2d0211 :: true 2023-07-06 22:31:08 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-06 22:31:08 | [Mutex] received everything. 2023-07-06 22:31:08 | [Mutex] isItemNotified: node_pc9yei0208:subscribe_node:success :: true 2023-07-06 22:31:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 22:31:08 | command: <data><node>node_pc9yei0208</node><expire-at>2023-07-07T05:31:13Z</expire-at><entry><content>content_mmstpl0212</content></entry></data> 2023-07-06 22:31:08 | target: http://localhost:8088 2023-07-06 22:31:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-06 22:31:08 | entity: <data><node>node_pc9yei0208</node><expire-at>2023-07-07T05:31:13Z</expire-at><entry><content>content_mmstpl0212</content></entry></data> 2023-07-06 22:31:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 05:31:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 22:31:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>97ce3a16-f65d-459a-bce5-8d42cbbd264f</value></item-id></result> 2023-07-06 22:31:08 | contains: true 2023-07-06 22:31:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-06 22:31:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-06 22:31:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-06 22:31:16 | [Mutex] waiting for: [user_regularjgggkk0207@test-domain.com:message:received:content_mmstpl0212] 2023-07-06 22:31:16 | [Mutex] waiting for: [user_regularjgggkk0207@test-domain.com:message:received:content_mmstpl0212] 2023-07-06 22:31:16 | [Mutex] waiting for: [user_regularjgggkk0207@test-domain.com:message:received:content_mmstpl0212] 2023-07-06 22:31:31 | [Mutex] timeout. Not received [user_regularjgggkk0207@test-domain.com:message:received:content_mmstpl0212] 2023-07-06 22:31:31 | [Mutex] received everything. 2023-07-06 22:31:31 | [Mutex] isItemNotified: user_regularjgggkk0207@test-domain.com:message:received:content_mmstpl0212 :: false 2023-07-06 22:31:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mmstpl0212 :: true |