Test duration : 44.785s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.672s |
2023-03-24 22:30:12 |
2023-03-24 22:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-24 22:30:12 | ------------------------------------ 2023-03-24 22:30:12 | [Mutex] isItemNotified: node_7gpcgb0208:exists :: false 2023-03-24 22:30:12 | [Mutex] waiting for: [node_7gpcgb0208:create_node] 2023-03-24 22:30:12 | [Mutex] waiting for: [node_7gpcgb0208:create_node] 2023-03-24 22:30:12 | [Mutex] received everything. 2023-03-24 22:30:12 | [Mutex] isItemNotified: node_7gpcgb0208:create_node:success :: true 2023-03-24 22:30:12 | [Mutex] waiting for: [node_7gpcgb0208:subscribe_node] 2023-03-24 22:30:12 | [Mutex] waiting for: [node_7gpcgb0208:subscribe_node] 2023-03-24 22:30:12 | [Mutex] received everything. 2023-03-24 22:30:12 | [Mutex] isItemNotified: node_7gpcgb0208:subscribe_node:success :: true 2023-03-24 22:30:12 | ===== publishing normal message (to online) 2023-03-24 22:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-24 22:30:12 | command: <data><node>node_7gpcgb0208</node><entry><content>content_78jhcq0209</content></entry></data> 2023-03-24 22:30:12 | target: http://localhost:8088 2023-03-24 22:30:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-24 22:30:12 | entity: <data><node>node_7gpcgb0208</node><entry><content>content_78jhcq0209</content></entry></data> 2023-03-24 22:30:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-24 22:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>50079ae7-44b8-4766-be8b-feab6d3ec779</value></item-id></result> 2023-03-24 22:30:12 | contains: true 2023-03-24 22:30:12 | [Mutex] received everything. 2023-03-24 22:30:12 | [Mutex] isItemNotified: user_regular74aifd0207@test-domain.com:message:received:content_78jhcq0209 :: true 2023-03-24 22:30:12 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-24 22:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-24 22:30:12 | command: <data><node>node_7gpcgb0208</node><expire-at>2023-03-25T05:30:07Z</expire-at><entry><content>content_9s0ya00210</content></entry></data> 2023-03-24 22:30:12 | target: http://localhost:8088 2023-03-24 22:30:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-24 22:30:12 | entity: <data><node>node_7gpcgb0208</node><expire-at>2023-03-25T05:30:07Z</expire-at><entry><content>content_9s0ya00210</content></entry></data> 2023-03-24 22:30:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-24 22:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2bf8a1f7-cf17-44dc-a7e3-036f86db3354</value></item-id></result> 2023-03-24 22:30:12 | contains: true 2023-03-24 22:30:12 | [Mutex] waiting for: [user_regular74aifd0207@test-domain.com:message:received:content_9s0ya00210] 2023-03-24 22:30:27 | [Mutex] timeout. Not received [user_regular74aifd0207@test-domain.com:message:received:content_9s0ya00210] 2023-03-24 22:30:27 | [Mutex] isItemNotified: user_regular74aifd0207@test-domain.com:message:received:content_9s0ya00210 :: false 2023-03-24 22:30:27 | ===== publishing normal message (to offline) 2023-03-24 22:30:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-24 22:30:27 | command: <data><node>node_7gpcgb0208</node><entry><content>content_ed68zg0211</content></entry></data> 2023-03-24 22:30:27 | target: http://localhost:8088 2023-03-24 22:30:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-24 22:30:27 | entity: <data><node>node_7gpcgb0208</node><entry><content>content_ed68zg0211</content></entry></data> 2023-03-24 22:30:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-24 22:30:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>31ac31da-c654-4258-8d08-b12895bc739f</value></item-id></result> 2023-03-24 22:30:27 | contains: true 2023-03-24 22:30:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-24 22:30:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-24 22:30:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-24 22:30:32 | [Mutex] waiting for: [user_regular74aifd0207@test-domain.com:message:received:content_ed68zg0211] 2023-03-24 22:30:32 | [Mutex] waiting for: [user_regular74aifd0207@test-domain.com:message:received:content_ed68zg0211] 2023-03-24 22:30:32 | [Mutex] received everything. 2023-03-24 22:30:32 | [Mutex] isItemNotified: user_regular74aifd0207@test-domain.com:message:received:content_ed68zg0211 :: true 2023-03-24 22:30:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-24 22:30:32 | [Mutex] received everything. 2023-03-24 22:30:32 | [Mutex] isItemNotified: node_7gpcgb0208:subscribe_node:success :: true 2023-03-24 22:30:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-24 22:30:32 | command: <data><node>node_7gpcgb0208</node><expire-at>2023-03-25T05:30:37Z</expire-at><entry><content>content_m4wfak0212</content></entry></data> 2023-03-24 22:30:32 | target: http://localhost:8088 2023-03-24 22:30:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-24 22:30:32 | entity: <data><node>node_7gpcgb0208</node><expire-at>2023-03-25T05:30:37Z</expire-at><entry><content>content_m4wfak0212</content></entry></data> 2023-03-24 22:30:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 05:30:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-24 22:30:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>42929727-fc07-4ba9-9b93-cec2bc7593b1</value></item-id></result> 2023-03-24 22:30:32 | contains: true 2023-03-24 22:30:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-24 22:30:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-24 22:30:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-24 22:30:40 | [Mutex] waiting for: [user_regular74aifd0207@test-domain.com:message:received:content_m4wfak0212] 2023-03-24 22:30:40 | [Mutex] waiting for: [user_regular74aifd0207@test-domain.com:message:received:content_m4wfak0212] 2023-03-24 22:30:40 | [Mutex] waiting for: [user_regular74aifd0207@test-domain.com:message:received:content_m4wfak0212] 2023-03-24 22:30:55 | [Mutex] timeout. Not received [user_regular74aifd0207@test-domain.com:message:received:content_m4wfak0212] 2023-03-24 22:30:55 | [Mutex] received everything. 2023-03-24 22:30:55 | [Mutex] isItemNotified: user_regular74aifd0207@test-domain.com:message:received:content_m4wfak0212 :: false 2023-03-24 22:30:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m4wfak0212 :: true |