Test duration : 44.451s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.648s |
2023-07-06 23:00:03 |
2023-07-06 23:00:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-06 23:00:03 | ------------------------------------ 2023-07-06 23:00:03 | [Mutex] isItemNotified: node_tj7llg0208:exists :: false 2023-07-06 23:00:03 | [Mutex] waiting for: [node_tj7llg0208:create_node] 2023-07-06 23:00:03 | [Mutex] received everything. 2023-07-06 23:00:03 | [Mutex] isItemNotified: node_tj7llg0208:create_node:success :: true 2023-07-06 23:00:03 | [Mutex] waiting for: [node_tj7llg0208:subscribe_node] 2023-07-06 23:00:03 | [Mutex] received everything. 2023-07-06 23:00:03 | [Mutex] isItemNotified: node_tj7llg0208:subscribe_node:success :: true 2023-07-06 23:00:03 | ===== publishing normal message (to online) 2023-07-06 23:00:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 23:00:03 | command: <data><node>node_tj7llg0208</node><entry><content>content_foy74c0209</content></entry></data> 2023-07-06 23:00:03 | target: http://localhost:8088 2023-07-06 23:00:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-06 23:00:03 | entity: <data><node>node_tj7llg0208</node><entry><content>content_foy74c0209</content></entry></data> 2023-07-06 23:00:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 06:00:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 23:00:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fc06d62e-3fac-46a6-866a-8d61389c30a7</value></item-id></result> 2023-07-06 23:00:03 | contains: true 2023-07-06 23:00:03 | [Mutex] waiting for: [user_regular2o00bp0207@test-domain.com:message:received:content_foy74c0209] 2023-07-06 23:00:03 | [Mutex] received everything. 2023-07-06 23:00:03 | [Mutex] isItemNotified: user_regular2o00bp0207@test-domain.com:message:received:content_foy74c0209 :: true 2023-07-06 23:00:03 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-06 23:00:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 23:00:03 | command: <data><node>node_tj7llg0208</node><expire-at>2023-07-07T05:59:58Z</expire-at><entry><content>content_9o1b0n0210</content></entry></data> 2023-07-06 23:00:03 | target: http://localhost:8088 2023-07-06 23:00:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-06 23:00:03 | entity: <data><node>node_tj7llg0208</node><expire-at>2023-07-07T05:59:58Z</expire-at><entry><content>content_9o1b0n0210</content></entry></data> 2023-07-06 23:00:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 06:00:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 23:00:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4d1172fa-8af4-43b9-8f86-2ff09a2d676d</value></item-id></result> 2023-07-06 23:00:03 | contains: true 2023-07-06 23:00:03 | [Mutex] waiting for: [user_regular2o00bp0207@test-domain.com:message:received:content_9o1b0n0210] 2023-07-06 23:00:18 | [Mutex] timeout. Not received [user_regular2o00bp0207@test-domain.com:message:received:content_9o1b0n0210] 2023-07-06 23:00:18 | [Mutex] isItemNotified: user_regular2o00bp0207@test-domain.com:message:received:content_9o1b0n0210 :: false 2023-07-06 23:00:18 | ===== publishing normal message (to offline) 2023-07-06 23:00:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 23:00:19 | command: <data><node>node_tj7llg0208</node><entry><content>content_fbwq7i0211</content></entry></data> 2023-07-06 23:00:19 | target: http://localhost:8088 2023-07-06 23:00:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-06 23:00:19 | entity: <data><node>node_tj7llg0208</node><entry><content>content_fbwq7i0211</content></entry></data> 2023-07-06 23:00:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 06:00:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 23:00:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0c97b37d-62e4-4dcc-b2ec-2a0180918d20</value></item-id></result> 2023-07-06 23:00:19 | contains: true 2023-07-06 23:00:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-06 23:00:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-06 23:00:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-06 23:00:24 | [Mutex] received everything. 2023-07-06 23:00:24 | [Mutex] isItemNotified: user_regular2o00bp0207@test-domain.com:message:received:content_fbwq7i0211 :: true 2023-07-06 23:00:24 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-06 23:00:24 | [Mutex] received everything. 2023-07-06 23:00:24 | [Mutex] isItemNotified: node_tj7llg0208:subscribe_node:success :: true 2023-07-06 23:00:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 23:00:24 | command: <data><node>node_tj7llg0208</node><expire-at>2023-07-07T06:00:29Z</expire-at><entry><content>content_n7uyhb0212</content></entry></data> 2023-07-06 23:00:24 | target: http://localhost:8088 2023-07-06 23:00:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-06 23:00:24 | entity: <data><node>node_tj7llg0208</node><expire-at>2023-07-07T06:00:29Z</expire-at><entry><content>content_n7uyhb0212</content></entry></data> 2023-07-06 23:00:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 06:00:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 23:00:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c3496a99-360b-401f-986f-4b415b5141e9</value></item-id></result> 2023-07-06 23:00:24 | contains: true 2023-07-06 23:00:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-06 23:00:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-06 23:00:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-06 23:00:32 | [Mutex] waiting for: [user_regular2o00bp0207@test-domain.com:message:received:content_n7uyhb0212] 2023-07-06 23:00:47 | [Mutex] timeout. Not received [user_regular2o00bp0207@test-domain.com:message:received:content_n7uyhb0212] 2023-07-06 23:00:47 | [Mutex] received everything. 2023-07-06 23:00:47 | [Mutex] isItemNotified: user_regular2o00bp0207@test-domain.com:message:received:content_n7uyhb0212 :: false 2023-07-06 23:00:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_n7uyhb0212 :: true |