Test duration : 44.572s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.609s |
2022-12-30 08:00:02 |
2022-12-30 08:00:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-30 08:00:02 | ------------------------------------ 2022-12-30 08:00:02 | [Mutex] isItemNotified: node_do9tz90204:exists :: false 2022-12-30 08:00:02 | [Mutex] waiting for: [node_do9tz90204:create_node] 2022-12-30 08:00:02 | [Mutex] received everything. 2022-12-30 08:00:02 | [Mutex] isItemNotified: node_do9tz90204:create_node:success :: true 2022-12-30 08:00:02 | [Mutex] waiting for: [node_do9tz90204:subscribe_node] 2022-12-30 08:00:02 | [Mutex] waiting for: [node_do9tz90204:subscribe_node] 2022-12-30 08:00:02 | [Mutex] received everything. 2022-12-30 08:00:02 | [Mutex] isItemNotified: node_do9tz90204:subscribe_node:success :: true 2022-12-30 08:00:02 | ===== publishing normal message (to online) 2022-12-30 08:00:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 08:00:02 | command: <data><node>node_do9tz90204</node><entry><content>content_33lpgr0205</content></entry></data> 2022-12-30 08:00:02 | target: http://localhost:8088 2022-12-30 08:00:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 08:00:02 | entity: <data><node>node_do9tz90204</node><entry><content>content_33lpgr0205</content></entry></data> 2022-12-30 08:00:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 16:00:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 08:00:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4f54af33-b10b-4965-8063-5755a7ceb714</value></item-id></result> 2022-12-30 08:00:02 | contains: true 2022-12-30 08:00:02 | [Mutex] waiting for: [user_regulardvgemn0203@test-domain.com:message:received:content_33lpgr0205] 2022-12-30 08:00:02 | [Mutex] received everything. 2022-12-30 08:00:02 | [Mutex] isItemNotified: user_regulardvgemn0203@test-domain.com:message:received:content_33lpgr0205 :: true 2022-12-30 08:00:02 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-30 08:00:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 08:00:02 | command: <data><node>node_do9tz90204</node><expire-at>2022-12-30T15:59:57Z</expire-at><entry><content>content_u96b740206</content></entry></data> 2022-12-30 08:00:02 | target: http://localhost:8088 2022-12-30 08:00:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 08:00:02 | entity: <data><node>node_do9tz90204</node><expire-at>2022-12-30T15:59:57Z</expire-at><entry><content>content_u96b740206</content></entry></data> 2022-12-30 08:00:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 16:00:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 08:00:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3118c397-dc5d-4708-90b2-b2385563e1db</value></item-id></result> 2022-12-30 08:00:02 | contains: true 2022-12-30 08:00:02 | [Mutex] waiting for: [user_regulardvgemn0203@test-domain.com:message:received:content_u96b740206] 2022-12-30 08:00:17 | [Mutex] timeout. Not received [user_regulardvgemn0203@test-domain.com:message:received:content_u96b740206] 2022-12-30 08:00:17 | [Mutex] isItemNotified: user_regulardvgemn0203@test-domain.com:message:received:content_u96b740206 :: false 2022-12-30 08:00:17 | ===== publishing normal message (to offline) 2022-12-30 08:00:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 08:00:17 | command: <data><node>node_do9tz90204</node><entry><content>content_v92rl90207</content></entry></data> 2022-12-30 08:00:17 | target: http://localhost:8088 2022-12-30 08:00:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 08:00:17 | entity: <data><node>node_do9tz90204</node><entry><content>content_v92rl90207</content></entry></data> 2022-12-30 08:00:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 16:00:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 08:00:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8636f5e0-921c-4ff3-8b32-02eb27b83ab2</value></item-id></result> 2022-12-30 08:00:17 | contains: true 2022-12-30 08:00:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 08:00:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 08:00:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 08:00:22 | [Mutex] waiting for: [user_regulardvgemn0203@test-domain.com:message:received:content_v92rl90207] 2022-12-30 08:00:22 | [Mutex] received everything. 2022-12-30 08:00:22 | [Mutex] isItemNotified: user_regulardvgemn0203@test-domain.com:message:received:content_v92rl90207 :: true 2022-12-30 08:00:22 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-30 08:00:22 | [Mutex] received everything. 2022-12-30 08:00:22 | [Mutex] isItemNotified: node_do9tz90204:subscribe_node:success :: true 2022-12-30 08:00:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 08:00:22 | command: <data><node>node_do9tz90204</node><expire-at>2022-12-30T16:00:27Z</expire-at><entry><content>content_lelrrw0208</content></entry></data> 2022-12-30 08:00:22 | target: http://localhost:8088 2022-12-30 08:00:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 08:00:22 | entity: <data><node>node_do9tz90204</node><expire-at>2022-12-30T16:00:27Z</expire-at><entry><content>content_lelrrw0208</content></entry></data> 2022-12-30 08:00:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 16:00:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 08:00:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>44351cf0-fe88-4532-8998-b471e4780204</value></item-id></result> 2022-12-30 08:00:22 | contains: true 2022-12-30 08:00:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 08:00:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 08:00:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 08:00:30 | [Mutex] waiting for: [user_regulardvgemn0203@test-domain.com:message:received:content_lelrrw0208] 2022-12-30 08:00:30 | [Mutex] waiting for: [user_regulardvgemn0203@test-domain.com:message:received:content_lelrrw0208] 2022-12-30 08:00:45 | [Mutex] timeout. Not received [user_regulardvgemn0203@test-domain.com:message:received:content_lelrrw0208] 2022-12-30 08:00:45 | [Mutex] received everything. 2022-12-30 08:00:45 | [Mutex] isItemNotified: user_regulardvgemn0203@test-domain.com:message:received:content_lelrrw0208 :: false 2022-12-30 08:00:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lelrrw0208 :: true |