Test duration : 44.482s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.612s |
2022-08-16 23:01:59 |
2022-08-16 23:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-16 23:01:59 | ------------------------------------ 2022-08-16 23:01:59 | [Mutex] isItemNotified: node_6c49mx0204:exists :: false 2022-08-16 23:01:59 | [Mutex] waiting for: [node_6c49mx0204:create_node] 2022-08-16 23:01:59 | [Mutex] received everything. 2022-08-16 23:01:59 | [Mutex] isItemNotified: node_6c49mx0204:create_node:success :: true 2022-08-16 23:01:59 | [Mutex] waiting for: [node_6c49mx0204:subscribe_node] 2022-08-16 23:01:59 | [Mutex] waiting for: [node_6c49mx0204:subscribe_node] 2022-08-16 23:01:59 | [Mutex] received everything. 2022-08-16 23:01:59 | [Mutex] isItemNotified: node_6c49mx0204:subscribe_node:success :: true 2022-08-16 23:01:59 | ===== publishing normal message (to online) 2022-08-16 23:01:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 23:01:59 | command: <data><node>node_6c49mx0204</node><entry><content>content_bz2fbv0205</content></entry></data> 2022-08-16 23:01:59 | target: http://localhost:8088 2022-08-16 23:01:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-16 23:01:59 | entity: <data><node>node_6c49mx0204</node><entry><content>content_bz2fbv0205</content></entry></data> 2022-08-16 23:01:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 06:01:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 23:01:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4e8413ac-bd87-48db-b510-d2313fc2bc53</value></item-id></result> 2022-08-16 23:01:59 | contains: true 2022-08-16 23:01:59 | [Mutex] received everything. 2022-08-16 23:01:59 | [Mutex] isItemNotified: user_regularypen8v0203@test-domain.com:message:received:content_bz2fbv0205 :: true 2022-08-16 23:01:59 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-16 23:01:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 23:01:59 | command: <data><node>node_6c49mx0204</node><expire-at>2022-08-17T06:01:54Z</expire-at><entry><content>content_pip46r0206</content></entry></data> 2022-08-16 23:01:59 | target: http://localhost:8088 2022-08-16 23:01:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-16 23:01:59 | entity: <data><node>node_6c49mx0204</node><expire-at>2022-08-17T06:01:54Z</expire-at><entry><content>content_pip46r0206</content></entry></data> 2022-08-16 23:01:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 06:01:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 23:01:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e10cd872-27e4-40a0-b93e-8edc3fbc0195</value></item-id></result> 2022-08-16 23:01:59 | contains: true 2022-08-16 23:01:59 | [Mutex] waiting for: [user_regularypen8v0203@test-domain.com:message:received:content_pip46r0206] 2022-08-16 23:02:14 | [Mutex] timeout. Not received [user_regularypen8v0203@test-domain.com:message:received:content_pip46r0206] 2022-08-16 23:02:14 | [Mutex] isItemNotified: user_regularypen8v0203@test-domain.com:message:received:content_pip46r0206 :: false 2022-08-16 23:02:14 | ===== publishing normal message (to offline) 2022-08-16 23:02:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 23:02:14 | command: <data><node>node_6c49mx0204</node><entry><content>content_vibufa0207</content></entry></data> 2022-08-16 23:02:14 | target: http://localhost:8088 2022-08-16 23:02:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-16 23:02:14 | entity: <data><node>node_6c49mx0204</node><entry><content>content_vibufa0207</content></entry></data> 2022-08-16 23:02:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 06:02:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 23:02:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b04a937a-322c-4f79-af59-97adc4580c78</value></item-id></result> 2022-08-16 23:02:14 | contains: true 2022-08-16 23:02:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-16 23:02:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-16 23:02:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-16 23:02:20 | [Mutex] waiting for: [user_regularypen8v0203@test-domain.com:message:received:content_vibufa0207] 2022-08-16 23:02:20 | [Mutex] received everything. 2022-08-16 23:02:20 | [Mutex] isItemNotified: user_regularypen8v0203@test-domain.com:message:received:content_vibufa0207 :: true 2022-08-16 23:02:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-16 23:02:20 | [Mutex] received everything. 2022-08-16 23:02:20 | [Mutex] isItemNotified: node_6c49mx0204:subscribe_node:success :: true 2022-08-16 23:02:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 23:02:20 | command: <data><node>node_6c49mx0204</node><expire-at>2022-08-17T06:02:25Z</expire-at><entry><content>content_ec6lk80208</content></entry></data> 2022-08-16 23:02:20 | target: http://localhost:8088 2022-08-16 23:02:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-16 23:02:20 | entity: <data><node>node_6c49mx0204</node><expire-at>2022-08-17T06:02:25Z</expire-at><entry><content>content_ec6lk80208</content></entry></data> 2022-08-16 23:02:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 06:02:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 23:02:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7948566a-a85a-4369-bd16-c43ad4f91fee</value></item-id></result> 2022-08-16 23:02:20 | contains: true 2022-08-16 23:02:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-16 23:02:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-16 23:02:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-16 23:02:28 | [Mutex] waiting for: [user_regularypen8v0203@test-domain.com:message:received:content_ec6lk80208] 2022-08-16 23:02:28 | [Mutex] waiting for: [user_regularypen8v0203@test-domain.com:message:received:content_ec6lk80208] 2022-08-16 23:02:28 | [Mutex] waiting for: [user_regularypen8v0203@test-domain.com:message:received:content_ec6lk80208] 2022-08-16 23:02:43 | [Mutex] timeout. Not received [user_regularypen8v0203@test-domain.com:message:received:content_ec6lk80208] 2022-08-16 23:02:43 | [Mutex] received everything. 2022-08-16 23:02:43 | [Mutex] isItemNotified: user_regularypen8v0203@test-domain.com:message:received:content_ec6lk80208 :: false 2022-08-16 23:02:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ec6lk80208 :: true |