Test duration: 45.258s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.653s |
2020-06-24 22:52:35 |
2020-06-24 22:52:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-24 22:52:35 | ------------------------------------ 2020-06-24 22:52:35 | [Mutex] isItemNotified: node_sok7sx0202:exists :: false 2020-06-24 22:52:35 | [Mutex] waiting for: [node_sok7sx0202:create_node] 2020-06-24 22:52:35 | [Mutex] waiting for: [node_sok7sx0202:create_node] 2020-06-24 22:52:35 | [Mutex] received everything. 2020-06-24 22:52:35 | [Mutex] isItemNotified: node_sok7sx0202:create_node:success :: true 2020-06-24 22:52:35 | [Mutex] waiting for: [node_sok7sx0202:subscribe_node] 2020-06-24 22:52:35 | [Mutex] received everything. 2020-06-24 22:52:35 | [Mutex] isItemNotified: node_sok7sx0202:subscribe_node:success :: true 2020-06-24 22:52:35 | ===== publishing normal message (to online) 2020-06-24 22:52:35 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-24 22:52:35 | command: <data><node>node_sok7sx0202</node><entry><content>content_zcloy50203</content></entry></data> 2020-06-24 22:52:35 | target: http://localhost:8088 2020-06-24 22:52:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-24 22:52:35 | entity: <data><node>node_sok7sx0202</node><entry><content>content_zcloy50203</content></entry></data> 2020-06-24 22:52:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 05:52:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-24 22:52:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>60cf5b82-80c2-4d91-9b4b-401d05fb4e94</value></item-id></result> 2020-06-24 22:52:35 | contains: true 2020-06-24 22:52:35 | [Mutex] received everything. 2020-06-24 22:52:35 | [Mutex] isItemNotified: user_regular2apytp0201@localhost:message:received:content_zcloy50203 :: true 2020-06-24 22:52:35 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-24 22:52:35 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-24 22:52:35 | command: <data><node>node_sok7sx0202</node><expire-at>2020-06-25T05:52:30Z</expire-at><entry><content>content_rtt9730204</content></entry></data> 2020-06-24 22:52:35 | target: http://localhost:8088 2020-06-24 22:52:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-24 22:52:35 | entity: <data><node>node_sok7sx0202</node><expire-at>2020-06-25T05:52:30Z</expire-at><entry><content>content_rtt9730204</content></entry></data> 2020-06-24 22:52:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 05:52:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-24 22:52:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c92ccc9e-bb50-458c-bf62-43b83efcdfdd</value></item-id></result> 2020-06-24 22:52:35 | contains: true 2020-06-24 22:52:35 | [Mutex] waiting for: [user_regular2apytp0201@localhost:message:received:content_rtt9730204] 2020-06-24 22:52:50 | [Mutex] timeout. Not received [user_regular2apytp0201@localhost:message:received:content_rtt9730204] 2020-06-24 22:52:50 | [Mutex] isItemNotified: user_regular2apytp0201@localhost:message:received:content_rtt9730204 :: false 2020-06-24 22:52:50 | ===== publishing normal message (to offline) 2020-06-24 22:52:50 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-24 22:52:50 | command: <data><node>node_sok7sx0202</node><entry><content>content_6i42ew0205</content></entry></data> 2020-06-24 22:52:50 | target: http://localhost:8088 2020-06-24 22:52:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-24 22:52:50 | entity: <data><node>node_sok7sx0202</node><entry><content>content_6i42ew0205</content></entry></data> 2020-06-24 22:52:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 05:52:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-24 22:52:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>485947d1-113f-4ec4-b7c3-853a25a3918c</value></item-id></result> 2020-06-24 22:52:50 | contains: true 2020-06-24 22:52:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-24 22:52:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] DNS entry stored in session object: localhost:5222 2020-06-24 22:52:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-24 22:52:56 | [Mutex] waiting for: [user_regular2apytp0201@localhost:message:received:content_6i42ew0205] 2020-06-24 22:52:56 | [Mutex] waiting for: [user_regular2apytp0201@localhost:message:received:content_6i42ew0205] 2020-06-24 22:52:56 | [Mutex] received everything. 2020-06-24 22:52:56 | [Mutex] isItemNotified: user_regular2apytp0201@localhost:message:received:content_6i42ew0205 :: true 2020-06-24 22:52:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-24 22:52:56 | [Mutex] received everything. 2020-06-24 22:52:56 | [Mutex] isItemNotified: node_sok7sx0202:subscribe_node:success :: true 2020-06-24 22:52:56 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-24 22:52:56 | command: <data><node>node_sok7sx0202</node><expire-at>2020-06-25T05:53:01Z</expire-at><entry><content>content_vmiftn0206</content></entry></data> 2020-06-24 22:52:56 | target: http://localhost:8088 2020-06-24 22:52:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-24 22:52:56 | entity: <data><node>node_sok7sx0202</node><expire-at>2020-06-25T05:53:01Z</expire-at><entry><content>content_vmiftn0206</content></entry></data> 2020-06-24 22:52:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 05:52:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-24 22:52:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>371d9f0a-6b1f-4620-ad3c-aa1f78f9477e</value></item-id></result> 2020-06-24 22:52:56 | contains: true 2020-06-24 22:53:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-24 22:53:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] DNS entry stored in session object: localhost:5222 2020-06-24 22:53:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-24 22:53:04 | [Mutex] waiting for: [user_regular2apytp0201@localhost:message:received:content_vmiftn0206] 2020-06-24 22:53:04 | [Mutex] waiting for: [user_regular2apytp0201@localhost:message:received:content_vmiftn0206] 2020-06-24 22:53:19 | [Mutex] timeout. Not received [user_regular2apytp0201@localhost:message:received:content_vmiftn0206] 2020-06-24 22:53:19 | [Mutex] received everything. 2020-06-24 22:53:19 | [Mutex] isItemNotified: user_regular2apytp0201@localhost:message:received:content_vmiftn0206 :: false 2020-06-24 22:53:19 | [Mutex] isItemNotified: admin@localhost:message:received:content_vmiftn0206 :: true |