The invention discloses a fiber bragg grating pressure sensor capable of achieving positive and negative pressure monitoring and a testing method. The fiber bragg grating pressure sensor comprises a connector, a filter screen, a base, an outer shell, a corrugate pipe, a first fiber bragg grating, a second fiber bragg grating, an optical fiber, an optical cable connector, an armored optical cable, a brace, a flange plate, an outer shell cover and a strain beam, wherein the outer shell cover is used for protecting the optical fiber from a sealing glue sealing part to an optical cable connector part, and the strain beam is used for applying prestress. The fiber bragg grating pressure sensor capable of achieving the positive and negative pressure monitoring and the testing method are suitable for the monitoring of pressure safety of oil and gas pipelines, urban underground gas pipelines, heating power pipelines, water supplying pipelines, oil tank pipelines, oil conveying pipelines and other pipe networks, the potential safety hazards that an electronic sensor is electrified and is unsafe in nature are eliminated, and meanwhile the capacity of phases is also improved greatly; the fiber bragg grating pressure sensor is applied to the aspect of real-time online monitoring of coal and rock mass gas pressure, errors caused by single data monitoring are avoided, the sensitivity and the accuracy of the system are improved, manpower, material resources and time are saved, and meanwhile the danger probably brought by personnel on site can be avoided.