Test duration : 44.878s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.660s |
2022-06-21 23:02:57 |
2022-06-21 23:02:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-21 23:02:57 | ------------------------------------ 2022-06-21 23:02:57 | [Mutex] isItemNotified: node_ng4ahw0204:exists :: false 2022-06-21 23:02:57 | [Mutex] waiting for: [node_ng4ahw0204:create_node] 2022-06-21 23:02:57 | [Mutex] received everything. 2022-06-21 23:02:57 | [Mutex] isItemNotified: node_ng4ahw0204:create_node:success :: true 2022-06-21 23:02:57 | [Mutex] waiting for: [node_ng4ahw0204:subscribe_node] 2022-06-21 23:02:57 | [Mutex] waiting for: [node_ng4ahw0204:subscribe_node] 2022-06-21 23:02:57 | [Mutex] received everything. 2022-06-21 23:02:57 | [Mutex] isItemNotified: node_ng4ahw0204:subscribe_node:success :: true 2022-06-21 23:02:57 | ===== publishing normal message (to online) 2022-06-21 23:02:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-21 23:02:57 | command: <data><node>node_ng4ahw0204</node><entry><content>content_9p5si70205</content></entry></data> 2022-06-21 23:02:57 | target: http://localhost:8088 2022-06-21 23:02:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-21 23:02:57 | entity: <data><node>node_ng4ahw0204</node><entry><content>content_9p5si70205</content></entry></data> 2022-06-21 23:02:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 06:02:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-21 23:02:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c539a0fc-263f-4471-9ed6-4c0352828560</value></item-id></result> 2022-06-21 23:02:57 | contains: true 2022-06-21 23:02:57 | [Mutex] received everything. 2022-06-21 23:02:57 | [Mutex] isItemNotified: user_regular2o0ksa0203@test-domain.com:message:received:content_9p5si70205 :: true 2022-06-21 23:02:57 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-21 23:02:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-21 23:02:57 | command: <data><node>node_ng4ahw0204</node><expire-at>2022-06-22T06:02:52Z</expire-at><entry><content>content_6d2qu70206</content></entry></data> 2022-06-21 23:02:57 | target: http://localhost:8088 2022-06-21 23:02:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-21 23:02:57 | entity: <data><node>node_ng4ahw0204</node><expire-at>2022-06-22T06:02:52Z</expire-at><entry><content>content_6d2qu70206</content></entry></data> 2022-06-21 23:02:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 06:02:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-21 23:02:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>11429f14-00e5-4a08-88d9-929cf9f10214</value></item-id></result> 2022-06-21 23:02:57 | contains: true 2022-06-21 23:02:57 | [Mutex] waiting for: [user_regular2o0ksa0203@test-domain.com:message:received:content_6d2qu70206] 2022-06-21 23:03:12 | [Mutex] timeout. Not received [user_regular2o0ksa0203@test-domain.com:message:received:content_6d2qu70206] 2022-06-21 23:03:12 | [Mutex] isItemNotified: user_regular2o0ksa0203@test-domain.com:message:received:content_6d2qu70206 :: false 2022-06-21 23:03:12 | ===== publishing normal message (to offline) 2022-06-21 23:03:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-21 23:03:12 | command: <data><node>node_ng4ahw0204</node><entry><content>content_air6nf0207</content></entry></data> 2022-06-21 23:03:12 | target: http://localhost:8088 2022-06-21 23:03:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-21 23:03:12 | entity: <data><node>node_ng4ahw0204</node><entry><content>content_air6nf0207</content></entry></data> 2022-06-21 23:03:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 06:03:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-21 23:03:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f5f5de60-a576-4db9-aa29-de5f943b79f1</value></item-id></result> 2022-06-21 23:03:12 | contains: true 2022-06-21 23:03:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-21 23:03:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-21 23:03:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-21 23:03:18 | [Mutex] waiting for: [user_regular2o0ksa0203@test-domain.com:message:received:content_air6nf0207] 2022-06-21 23:03:18 | [Mutex] waiting for: [user_regular2o0ksa0203@test-domain.com:message:received:content_air6nf0207] 2022-06-21 23:03:18 | [Mutex] received everything. 2022-06-21 23:03:18 | [Mutex] isItemNotified: user_regular2o0ksa0203@test-domain.com:message:received:content_air6nf0207 :: true 2022-06-21 23:03:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-21 23:03:18 | [Mutex] received everything. 2022-06-21 23:03:18 | [Mutex] isItemNotified: node_ng4ahw0204:subscribe_node:success :: true 2022-06-21 23:03:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-21 23:03:18 | command: <data><node>node_ng4ahw0204</node><expire-at>2022-06-22T06:03:23Z</expire-at><entry><content>content_op2yy20208</content></entry></data> 2022-06-21 23:03:18 | target: http://localhost:8088 2022-06-21 23:03:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-21 23:03:18 | entity: <data><node>node_ng4ahw0204</node><expire-at>2022-06-22T06:03:23Z</expire-at><entry><content>content_op2yy20208</content></entry></data> 2022-06-21 23:03:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 22 Jun 2022 06:03:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-21 23:03:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>639b7688-5961-4c91-82cf-9b7e0cbbb7a9</value></item-id></result> 2022-06-21 23:03:18 | contains: true 2022-06-21 23:03:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-21 23:03:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-21 23:03:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-21 23:03:26 | [Mutex] waiting for: [user_regular2o0ksa0203@test-domain.com:message:received:content_op2yy20208] 2022-06-21 23:03:41 | [Mutex] timeout. Not received [user_regular2o0ksa0203@test-domain.com:message:received:content_op2yy20208] 2022-06-21 23:03:41 | [Mutex] received everything. 2022-06-21 23:03:41 | [Mutex] isItemNotified: user_regular2o0ksa0203@test-domain.com:message:received:content_op2yy20208 :: false 2022-06-21 23:03:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_op2yy20208 :: true |