Tomcat

软件测试一年工作总结(2017)

这一生的挚爱 提交于 2020-12-30 07:55:11
2017年从学校毕业到参加工作一年时间,一直在从事着软件测试的工作,先后通过两位测试同事的合作与学习,再加上这一年来大大小小的软件测试经验,总结了一些心得。 首先是测试流程,流程相对于工作不光是规范,同时也是在告诉我们每个阶段需要做什么。 然后是测试用例,主要是说明测试用例的必要性和编写的方法。 第三是缺陷管理,包括了缺陷的生命周期以及录入一个缺陷生命周期需要哪些要素。 第四是测试报告,简要说明测试报告应该包含的内容。 第五是其他测试。 一、测试流程 1)项目启动时,项目经理根据项目的需求,向测试部门提出测试人员需求,应该包括以下内容:项目周期、项目目标以及完成标准; 2)测试部门在接到项目组的测试需求后,进行需求评审,需要给出相应的团队信息,团队人员、分工; 3)测试主管需要写测试计划,对整个项目的开展进行排期,同时也包括了测试人员的分工和工作排期; 4)测试人员在接到工作任务安排的时, 4-1)首先要详细阅读需求文档和原型,分析需求时,可能会遇到需求文档描述的不清晰或者功能逻辑遗漏的情况,所以在写测试用例之前,最好要有一份测试分析文档,测试分析针对系统功能拆分进行粗略的书写,在测试分析时就要找产品部门进行需求核对,把不符合逻辑的地方讨论清楚; 4-2)测试分析完成后,参照已有的测试分析,就可以进行测试用例的书写,测试用例和开发写程序的时间是并行的,可能提早; 4-3

maven war application setting up contextroot

微笑、不失礼 提交于 2020-12-30 06:32:41
问题 i am building a war application file using the below maven config, however when i start the application in tomcat the Context Root is set to "/CommerceApi-0.0.1-SNAPSHOT/" I want this to be set to "/api", any ideas?, below is the pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId

maven war application setting up contextroot

烈酒焚心 提交于 2020-12-30 06:32:34
问题 i am building a war application file using the below maven config, however when i start the application in tomcat the Context Root is set to "/CommerceApi-0.0.1-SNAPSHOT/" I want this to be set to "/api", any ideas?, below is the pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId

maven war application setting up contextroot

泪湿孤枕 提交于 2020-12-30 06:31:12
问题 i am building a war application file using the below maven config, however when i start the application in tomcat the Context Root is set to "/CommerceApi-0.0.1-SNAPSHOT/" I want this to be set to "/api", any ideas?, below is the pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId

Logs not working on Elastic Beanstalk Tomcat environment

雨燕双飞 提交于 2020-12-30 04:11:14
问题 We've been using Elastic Beanstalk to run our Java (8) applications on Tomcat in our company without any issues. Now we have decided to move on to Java 11. We set up our environments with CloudFormation as we did before for the Java 8 applications but now we are using this solution stack: '64bit Amazon Linux 2 v4.1.1 running Tomcat 8.5 Corretto 11' (also tried v4.1.2). Everything works fine but it looks like the request logs feature isn't working anymore in elastic beanstalk (Last 100 lines

Logs not working on Elastic Beanstalk Tomcat environment

眉间皱痕 提交于 2020-12-30 04:06:37
问题 We've been using Elastic Beanstalk to run our Java (8) applications on Tomcat in our company without any issues. Now we have decided to move on to Java 11. We set up our environments with CloudFormation as we did before for the Java 8 applications but now we are using this solution stack: '64bit Amazon Linux 2 v4.1.1 running Tomcat 8.5 Corretto 11' (also tried v4.1.2). Everything works fine but it looks like the request logs feature isn't working anymore in elastic beanstalk (Last 100 lines

Logs not working on Elastic Beanstalk Tomcat environment

放肆的年华 提交于 2020-12-30 04:05:50
问题 We've been using Elastic Beanstalk to run our Java (8) applications on Tomcat in our company without any issues. Now we have decided to move on to Java 11. We set up our environments with CloudFormation as we did before for the Java 8 applications but now we are using this solution stack: '64bit Amazon Linux 2 v4.1.1 running Tomcat 8.5 Corretto 11' (also tried v4.1.2). Everything works fine but it looks like the request logs feature isn't working anymore in elastic beanstalk (Last 100 lines

Logs not working on Elastic Beanstalk Tomcat environment

元气小坏坏 提交于 2020-12-30 04:05:32
问题 We've been using Elastic Beanstalk to run our Java (8) applications on Tomcat in our company without any issues. Now we have decided to move on to Java 11. We set up our environments with CloudFormation as we did before for the Java 8 applications but now we are using this solution stack: '64bit Amazon Linux 2 v4.1.1 running Tomcat 8.5 Corretto 11' (also tried v4.1.2). Everything works fine but it looks like the request logs feature isn't working anymore in elastic beanstalk (Last 100 lines

Shiro权限管理框架(三):Shiro中权限过滤器的初始化流程和实现原理

这一生的挚爱 提交于 2020-12-29 17:51:52
本篇是Shiro系列第三篇,Shiro中的过滤器初始化流程和实现原理。Shiro基于URL的权限控制是通过Filter实现的,本篇从我们注入的 ShiroFilterFactoryBean 开始入手,翻看源码追寻Shiro中的过滤器的实现原理。 <!--more--> 初始化流程 ShiroFilterFactoryBean 实现了FactoryBean接口,那么Spring在初始化的时候必然会调用ShiroFilterFactoryBean的getObject()获取实例,而ShiroFilterFactoryBean也在此时做了一系列初始化操作。 关于FactoryBean的介绍和实现方式另外也记了一篇: https://www.guitu18.com/post/2019/04/28/33.html 在getObject()中会调用createInstance(),初始化相关的东西都在这里了,代码贴过来去掉了注释和校验相关的代码。 protected AbstractShiroFilter createInstance() throws Exception { SecurityManager securityManager = getSecurityManager(); FilterChainManager manager = createFilterChainManager(

springboot使用logback日志,部署到tomcat不生效问题解决

心不动则不痛 提交于 2020-12-29 15:55:28
springboot使用logback日志,部署到tomcat不生效问题解决 参考文章: (1)springboot使用logback日志,部署到tomcat不生效问题解决 (2)https://www.cnblogs.com/pangkang/p/8657159.html 备忘一下。 来源: oschina 链接: https://my.oschina.net/u/4432649/blog/4868378